1 menu.inc menu_list_system_menus()

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

Related topics

File

core/includes/menu.inc, line 1989
API for the Backdrop menu system.

Code

function menu_list_system_menus() {
  return array(
    'main-menu' => 'Primary navigation',
    'management' => 'Administration menu',
    'user-menu' => 'Account menu',
  );
}