Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 10.3.x for menu
  4. Search 11.x for menu
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Menu class core/modules/system/src/Entity/Menu.php Defines the Menu configuration entity class.
Menu class core/modules/system/src/Plugin/migrate/source/Menu.php Menu source from database.

All search results

Title Object type File name Summary
SystemMenuBlockTest::$menu property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The menu for testing.
SystemMenuBlockTest::$menuLinkManager property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The menu link plugin manager service.
SystemMenuBlockTest::$modules property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Modules to enable.
SystemMenuBlockTest::configExpandedTestCases function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::convertBuiltMenuToIdTree function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Helper method to allow for easy menu link tree structure assertions.
SystemMenuBlockTest::setUp function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::testConfigExpanded function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config expanded option.
SystemMenuBlockTest::testConfigLevelDepth function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config start level and depth.
SystemMenuBlockTest::testConstructorDeprecation function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php @deprecationMessage The menu.active_trail service must be passed to SystemMenuBlock::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2669550.
@group legacy
SystemMenuBlockTest::testSystemMenuBlockConfigDependencies function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests calculation of a system menu block's configuration dependencies.
SystemMenuOffCanvasForm class core/modules/system/src/Form/SystemMenuOffCanvasForm.php The setting_tray form handler for the SystemMenuBlock.
SystemMenuOffCanvasForm.php file core/modules/system/src/Form/SystemMenuOffCanvasForm.php
SystemMenuOffCanvasForm::$configFactory property core/modules/system/src/Form/SystemMenuOffCanvasForm.php The config factory.
SystemMenuOffCanvasForm::$entityTypeManager property core/modules/system/src/Form/SystemMenuOffCanvasForm.php
SystemMenuOffCanvasForm::$menu property core/modules/system/src/Form/SystemMenuOffCanvasForm.php The menu entity that the block uses and that will be edited in this form.
SystemMenuOffCanvasForm::$menuStorage property core/modules/system/src/Form/SystemMenuOffCanvasForm.php
SystemMenuOffCanvasForm::$plugin property core/modules/system/src/Form/SystemMenuOffCanvasForm.php The plugin.
SystemMenuOffCanvasForm::buildConfigurationForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Form constructor.
SystemMenuOffCanvasForm::create function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Instantiates a new instance of this class.
SystemMenuOffCanvasForm::getEntityForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Gets the entity form for this menu.
SystemMenuOffCanvasForm::hasMenuOverrides function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Determines if the menu has configuration overrides.
SystemMenuOffCanvasForm::setPlugin function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Sets the plugin for this object.
SystemMenuOffCanvasForm::submitConfigurationForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Form submission handler.
SystemMenuOffCanvasForm::validateConfigurationForm function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Form validation handler.
SystemMenuOffCanvasForm::__construct function core/modules/system/src/Form/SystemMenuOffCanvasForm.php SystemMenuOffCanvasForm constructor.
system_post_update_add_expand_all_items_key_in_system_menu_block function core/modules/system/system.post_update.php Initialize 'expand_all_items' values to system_menu_block.
system_post_update_clear_menu_cache function core/modules/system/system.post_update.php Clear the menu cache.
taxonomy.links.menu.yml file core/modules/taxonomy/taxonomy.links.menu.yml core/modules/taxonomy/taxonomy.links.menu.yml
template_preprocess_menu_local_action function core/includes/menu.inc Prepares variables for single local action link templates.
template_preprocess_menu_local_task function core/includes/menu.inc Prepares variables for single local task link templates.
TestViewsLocalTask::getApplicableMenuViews function core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php Return a list of all views and display IDs that have a menu entry.
TestViewsLocalTask::setApplicableMenuViews function core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php Sets applicable views result.
test_page_test.links.menu.yml file core/modules/system/tests/modules/test_page_test/test_page_test.links.menu.yml core/modules/system/tests/modules/test_page_test/test_page_test.links.menu.yml
toolbar.menu.css file core/modules/toolbar/css/toolbar.menu.css toolbar.menu.css
toolbar.menu.css file core/themes/stable/css/toolbar/toolbar.menu.css toolbar.menu.css
toolbar.menu_tree service core/modules/toolbar/toolbar.services.yml Drupal\toolbar\Menu\ToolbarMenuLinkTree
ToolbarAdminMenuTest class core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests the caching of the admin menu subtree items.
ToolbarAdminMenuTest.php file core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
ToolbarAdminMenuTest::$adminUser property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php A user with permission to access the administrative toolbar.
ToolbarAdminMenuTest::$adminUser2 property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php A second user with permission to access the administrative toolbar.
ToolbarAdminMenuTest::$defaultTheme property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The theme to install as the default for testing.
ToolbarAdminMenuTest::$hash property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The current admin menu subtrees hash for adminUser.
ToolbarAdminMenuTest::$modules property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Modules to enable.
ToolbarAdminMenuTest::assertDifferentHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Asserts the subtrees hash on a fresh page GET is different from the hash
from the previous page GET.
ToolbarAdminMenuTest::getSubtreesHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Get the hash value from the admin menu subtrees route path.
ToolbarAdminMenuTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
ToolbarAdminMenuTest::testBackToSiteLink function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Test that back to site link exists on admin pages, not on content pages.
ToolbarAdminMenuTest::testExternalLink function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that external links added to the menu appear in the toolbar.
ToolbarAdminMenuTest::testLanguageSwitching function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Test that subtrees hashes vary by the language of the page.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.