W3cubDocs

/Drupal 8

menu.inc

API for the Drupal menu system.

File

core/includes/menu.inc

Functions

Name Description
menu_cache_clear_all Clears all cached menu data.
menu_list_system_menus Returns an array containing the names of system-defined (default) menus.
menu_local_tabs Returns a renderable element for the primary and secondary tabs.
menu_local_tasks Deprecated Collects the local tasks (tabs) for the current route.
menu_primary_local_tasks Deprecated Returns the rendered local tasks at the top level.
menu_secondary_local_tasks Deprecated Returns the rendered local tasks at the second level.
template_preprocess_menu_local_action Prepares variables for single local action link templates.
template_preprocess_menu_local_task Prepares variables for single local task link templates.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!menu.inc/8.1.x