Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
MenuTest::providerSource function core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php The data provider.
MenuTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/MenuTest.php Sets up the necessary authorization.
MenuTest::testMenus function core/modules/views/tests/src/Functional/Wizard/MenuTest.php Tests the menu functionality.
MenuTestBase class core/modules/system/src/Tests/Menu/MenuTestBase.php Base class for Menu tests.
MenuTestBase.php file core/modules/system/src/Tests/Menu/MenuTestBase.php
MenuTestController class core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Controller routines for menu_test routes.
MenuTestController.php file core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php
MenuTestController::$routeMatch property core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php The active route match.
MenuTestController::$themeManager property core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php The theme manager.
MenuTestController::$themeNegotiator property core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php The theme negotiator.
MenuTestController::breadcrumbTitleCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php A title callback for XSS breadcrumb check.
MenuTestController::create function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Instantiates a new instance of this class.
MenuTestController::menuTestCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Some known placeholder content which can be used for testing.
MenuTestController::themePage function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Page callback: Tests the theme negotiation functionality.
MenuTestController::titleCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php A title callback method for test routes.
MenuTestController::__construct function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Constructs the MenuTestController object.
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
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().

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