Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 8.9.x for menu
  4. Search 10.3.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 Drupal 6/7 menu source from database.

All search results

Title Object type File name Summary
MenuTranslation::getIds function core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php Defines the source fields uniquely identifying a source row.
MenuTranslation::query function core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php
MenuTranslationTest class core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/MenuTranslationTest.php Tests the menu translation source plugin.
MenuTranslationTest.php file core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/MenuTranslationTest.php
MenuTranslationTest::$modules property core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/MenuTranslationTest.php Modules to install.
MenuTranslationTest::providerSource function core/modules/system/tests/src/Kernel/Plugin/migrate/source/d7/MenuTranslationTest.php
MenuTreeHierarchyConstraint class core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php Validation constraint for changing the menu hierarchy in pending revisions.
MenuTreeHierarchyConstraint.php file core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php
MenuTreeHierarchyConstraint::$message property core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php The default violation message.
MenuTreeHierarchyConstraint::coversFields function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php An array of entity fields which should be passed to the validator.
MenuTreeHierarchyConstraintValidator class core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Constraint validator for changing menu link parents in pending revisions.
MenuTreeHierarchyConstraintValidator.php file core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::$entityTypeManager property core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php The entity type manager.
MenuTreeHierarchyConstraintValidator::create function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Instantiates a new instance of this class.
MenuTreeHierarchyConstraintValidator::validate function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::__construct function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Creates a new MenuTreeHierarchyConstraintValidator instance.
MenuTreeParameters class core/lib/Drupal/Core/Menu/MenuTreeParameters.php Provides a value object to model menu tree parameters.
MenuTreeParameters.php file core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::$activeTrail property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The IDs from the currently active menu link to the root of the whole tree.
MenuTreeParameters::$conditions property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The conditions used to restrict which links are loaded.
MenuTreeParameters::$expandedParents property core/lib/Drupal/Core/Menu/MenuTreeParameters.php An array of parent link IDs.
MenuTreeParameters::$maxDepth property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The maximum depth of menu links in the resulting tree relative to the root.
MenuTreeParameters::$minDepth property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The minimum depth of menu links in the resulting tree relative to the root.
MenuTreeParameters::$root property core/lib/Drupal/Core/Menu/MenuTreeParameters.php A menu link plugin ID that should be used as the root.
MenuTreeParameters::addCondition function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds a custom query condition.
MenuTreeParameters::addExpandedParents function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds parent menu links IDs to restrict the tree.
MenuTreeParameters::excludeRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes the root menu link from the tree.
MenuTreeParameters::onlyEnabledLinks function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes links that are not enabled.
MenuTreeParameters::serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::setActiveTrail function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets the active trail IDs used to set the inActiveTrail property.
MenuTreeParameters::setMaxDepth function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a maximum depth for menu tree loading.
MenuTreeParameters::setMinDepth function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a minimum depth for menu tree loading.
MenuTreeParameters::setRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a root for menu tree loading.
MenuTreeParameters::setTopLevelOnly function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Ensures only the top level of the tree is loaded.
MenuTreeParameters::unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParametersTest class core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests the menu link tree parameters value object.
MenuTreeParametersTest.php file core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php
MenuTreeParametersTest::providerTestSetMinDepth function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Provides test data for testSetMinDepth().
MenuTreeParametersTest::testAddCondition function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests addCondition().
MenuTreeParametersTest::testAddExpanded function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests addExpandedParents().
MenuTreeParametersTest::testExcludeRoot function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests excludeRoot().
MenuTreeParametersTest::testOnlyEnabledLinks function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests onlyEnabledLinks().
MenuTreeParametersTest::testSerialize function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php @covers ::serialize
@covers ::unserialize
MenuTreeParametersTest::testSetMinDepth function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setMinDepth().
MenuTreeParametersTest::testSetTopLevelOnly function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setTopLevelOnly().
MenuTreeStorage class core/lib/Drupal/Core/Menu/MenuTreeStorage.php Provides a menu tree storage using the database.
MenuTreeStorage.php file core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::$cacheTagsInvalidator property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The cache tags invalidator.

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