function menu_list_system_menus
Same name and namespace in other branches
- 9 core/includes/menu.inc \menu_list_system_menus()
Returns an array containing the names of system-defined (default) menus.
File
-
core/
includes/ menu.inc, line 84
Code
function menu_list_system_menus() {
return [
'tools' => 'Tools',
'admin' => 'Administration',
'account' => 'User account menu',
'main' => 'Main navigation',
'footer' => 'Footer menu',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.