menu_list_system_menus

menu_list_system_menus()

Returns an array containing the names of system-defined (default) menus.

Related topics

Menu system
Define the navigation menus, local actions and tasks, and contextual links.

File

core/includes/menu.inc, line 85
API for the Drupal menu system.

Code

function menu_list_system_menus() {
  return array(
    'tools' => 'Tools',
    'admin' => 'Administration',
    'account' => 'User account menu',
    'main' => 'Main navigation',
    'footer' => 'Footer menu',
  );
}
doc_Drupal
2016-10-29 09:27:48
Comments
Leave a Comment

Please login to continue.