Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuParentFormSelector::getParentDepthLimit | function | core/ |
Returns the maximum depth of the possible parents of the menu link. |
| MenuParentFormSelector::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
| MenuParentFormSelector::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
| MenuParentFormSelector::parentSelectOptionsTreeWalk | function | core/ |
Iterates over all items in the tree to prepare the parents select options. |
| MenuParentFormSelector::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuParentFormSelector |
| MenuParentFormSelectorInterface | interface | core/ |
Defines an interface for menu selector form elements and menu link options. |
| MenuParentFormSelectorInterface.php | file | core/ |
|
| MenuParentFormSelectorInterface::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
| MenuParentFormSelectorInterface::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
| MenuSettingsConstraintValidator | class | core/ |
Constraint validator for changing the menu settings in pending revisions. |
| MenuSettingsConstraintValidator.php | file | core/ |
|
| MenuSettingsConstraintValidator::validate | function | core/ |
|
| MenuStorage | class | core/ |
Defines the storage class for menu configuration entities. |
| MenuStorage.php | file | core/ |
|
| MenuStorage::MAX_ID_LENGTH | constant | core/ |
Menu names have a maximum length of 32. |
| MenuStorageTest | class | core/ |
Tests MenuStorage. |
| MenuStorageTest.php | file | core/ |
|
| MenuStorageTest::$modules | property | core/ |
Modules to enable. |
| MenuStorageTest::testMaxIdLengthException | function | core/ |
Tests MenuStorage::MAX_ID_LENGTH is enforced. |
| MenuTestController::$themeNegotiator | property | core/ |
The theme negotiator. |
| MenuTreeHierarchyConstraintValidator | class | core/ |
Constraint validator for changing menu link parents in pending revisions. |
| MenuTreeHierarchyConstraintValidator.php | file | core/ |
|
| MenuTreeHierarchyConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| MenuTreeHierarchyConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| MenuTreeHierarchyConstraintValidator::validate | function | core/ |
|
| MenuTreeHierarchyConstraintValidator::__construct | function | core/ |
Creates a new MenuTreeHierarchyConstraintValidator instance. |
| MenuTreeParameters::setTopLevelOnly | function | core/ |
Ensures only the top level of the tree is loaded. |
| MenuTreeParametersTest::testOnlyEnabledLinks | function | core/ |
Tests onlyEnabledLinks(). |
| MenuTreeParametersTest::testSetTopLevelOnly | function | core/ |
Tests setTopLevelOnly(). |
| MenuTreeStorage | class | core/ |
Provides a menu tree storage using the database. |
| MenuTreeStorage.php | file | core/ |
|
| MenuTreeStorage::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
| MenuTreeStorage::$connection | property | core/ |
The database connection. |
| MenuTreeStorage::$definitionFields | property | core/ |
List of plugin definition fields. |
| MenuTreeStorage::$definitions | property | core/ |
Stores definitions that have already been loaded for better performance. |
| MenuTreeStorage::$menuCacheBackend | property | core/ |
Cache backend instance for the extracted tree data. |
| MenuTreeStorage::$options | property | core/ |
Additional database connection options to use in queries. |
| MenuTreeStorage::$serializedFields | property | core/ |
List of serialized fields. |
| MenuTreeStorage::$table | property | core/ |
The database table name. |
| MenuTreeStorage::collectRoutesAndDefinitions | function | core/ |
Traverses the menu tree and collects all the route names and definitions. |
| MenuTreeStorage::countMenuLinks | function | core/ |
Counts the total number of menu links in one menu or all menus. |
| MenuTreeStorage::definitionFields | function | core/ |
Determines fields that are part of the plugin definition. |
| MenuTreeStorage::delete | function | core/ |
Deletes a menu link definition from the storage. |
| MenuTreeStorage::doBuildTreeData | function | core/ |
Prepares the data for calling $this->treeDataRecursive(). |
| MenuTreeStorage::doCollectRoutesAndDefinitions | function | core/ |
Collects all the route names and definitions. |
| MenuTreeStorage::doDeleteMultiple | function | core/ |
Purge menu links from the database. |
| MenuTreeStorage::doFindChildrenRelativeDepth | function | core/ |
Finds the relative depth of this link's deepest child. |
| MenuTreeStorage::doSave | function | core/ |
Saves a link without clearing caches. |
| MenuTreeStorage::ensureTableExists | function | core/ |
Checks if the tree table exists and create it if not. |
| MenuTreeStorage::findNoLongerExistingLinks | function | core/ |
Find any previously discovered menu links that no longer exist. |
Pagination
- Previous page
- Page 148
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.