1 menu.module menu_node_type_load(&$types)

Implements hook_node_type_load()

File

core/modules/menu/menu.module, line 905
Allows administrators to customize the site's menus.

Code

function menu_node_type_load(&$types) {
  foreach ($types as $type_name => $type) {
    $types[$type_name]->settings += array(
      'menu_default' => FALSE,
      'menu_options' => array(),
      'menu_parent' => 'main-menu:0',
    );
  }
}