Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
menu.inc
»
menu_get_item
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
26 calls to menu_get_item()
block_page_build
in drupal/
core/
modules/
block/
block.module
Implements
hook_page_build
().
drupal_retrieve_form
in drupal/
core/
includes/
form.inc
Retrieves the structured array that defines a given form.
drupal_valid_path
in drupal/
core/
includes/
path.inc
Checks a path exists and the current user has access to it.
LegacyUrlMatcher::matchDrupalItem
in drupal/
core/
lib/
Drupal/
Core/
LegacyUrlMatcher.php
Get a Drupal menu item.
menu_contextual_links
in drupal/
core/
includes/
menu.inc
Retrieves contextual links for a path based on registered local tasks.
menu_get_active_breadcrumb
in drupal/
core/
includes/
menu.inc
Gets the breadcrumb for the current page, as determined by the active trail.
menu_get_custom_theme
in drupal/
core/
includes/
menu.inc
Gets the custom theme for the current page, if there is one.
menu_get_object
in drupal/
core/
includes/
menu.inc
Gets a loaded object from a router item.
menu_link_get_preferred
in drupal/
core/
includes/
menu.inc
Looks up the preferred menu link for a given system path.
menu_local_tasks
in drupal/
core/
includes/
menu.inc
Collects the local tasks (tabs), action links, and the root path.
menu_navigation_links
in drupal/
core/
includes/
menu.inc
Returns an array of links for a navigation menu.
menu_set_active_trail
in drupal/
core/
includes/
menu.inc
Sets the active trail (path to the menu tree root) of the current page.
menu_set_item
in drupal/
core/
includes/
menu.inc
Replaces the statically cached item for a given path.
menu_tree_output
in drupal/
core/
includes/
menu.inc
Returns a rendered menu tree.
menu_tree_page_data
in drupal/
core/
includes/
menu.inc
Gets the data structure for a named menu tree, based on the current page.
node_menu_local_tasks_alter
in drupal/
core/
modules/
node/
node.module
Implements
hook_menu_local_tasks_alter
().
RouterTest::testMenuSetItem
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test
menu_set_item
().
shortcut_link_add_inline
in drupal/
core/
modules/
shortcut/
shortcut.admin.inc
Menu page callback: creates a new link in the provided shortcut set.
shortcut_preprocess_page
in drupal/
core/
modules/
shortcut/
shortcut.module
Implements
hook_preprocess_HOOK
() for
page.tpl.php
.
shortcut_valid_link
in drupal/
core/
modules/
shortcut/
shortcut.module
Determines if a path corresponds to a valid shortcut link.
system_admin_menu_block
in drupal/
core/
modules/
system/
system.module
Provide a single block on the administration overview page.
system_admin_menu_block_page
in drupal/
core/
modules/
system/
system.admin.inc
Provide a single block from the administration menu as a page.
system_get_module_admin_tasks
in drupal/
core/
modules/
system/
system.module
Generate a list of tasks offered by a specified module.
system_modules
in drupal/
core/
modules/
system/
system.admin.inc
Menu callback; provides module enable/disable interface.
system_test_page_build
in drupal/
core/
modules/
system/
tests/
modules/
system_test/
system_test.module
Implements
hook_page_build
().
_menu_link_translate
in drupal/
core/
includes/
menu.inc
Provides menu link access control, translation, and argument handling.