Search for menu
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Menu | class | core/ |
Defines the Menu configuration entity class. |
Menu | class | core/ |
Drupal 6/7 menu source from database. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
MenuTreeParametersTest | class | core/ |
Tests the menu link tree parameters value object. |
MenuTreeParametersTest.php | file | core/ |
|
MenuTreeParametersTest::providerTestSetMinDepth | function | core/ |
Provides test data for testSetMinDepth(). |
MenuTreeParametersTest::testAddCondition | function | core/ |
Tests addCondition(). |
MenuTreeParametersTest::testAddExpanded | function | core/ |
Tests addExpandedParents(). |
MenuTreeParametersTest::testExcludeRoot | function | core/ |
Tests excludeRoot(). |
MenuTreeParametersTest::testOnlyEnabledLinks | function | core/ |
Tests onlyEnabledLinks(). |
MenuTreeParametersTest::testSerialize | function | core/ |
@covers ::serialize @covers ::unserialize |
MenuTreeParametersTest::testSetMinDepth | function | core/ |
Tests setMinDepth(). |
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::$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/ |
|
MenuTreeStorage::definitionFields | function | core/ |
Determines fields that are part of the plugin definition. |
MenuTreeStorage::delete | function | core/ |
|
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. |
MenuTreeStorage::findParent | function | core/ |
Loads the parent definition if it exists. |
MenuTreeStorage::getAllChildIds | function | core/ |
|
MenuTreeStorage::getExpanded | function | core/ |
|
MenuTreeStorage::getMenuNames | function | core/ |
|
MenuTreeStorage::getRootPathIds | function | core/ |
|
MenuTreeStorage::getSubtreeHeight | function | core/ |
|
MenuTreeStorage::load | function | core/ |
|
MenuTreeStorage::loadAllChildren | function | core/ |
|
MenuTreeStorage::loadByProperties | function | core/ |
|
MenuTreeStorage::loadByRoute | function | core/ |
|
MenuTreeStorage::loadFull | function | core/ |
Loads all table fields, not just those that are in the plugin definition. |
MenuTreeStorage::loadFullMultiple | function | core/ |
Loads all table fields for multiple menu link definitions by ID. |
MenuTreeStorage::loadLinks | function | core/ |
Loads links in the given menu, according to the given tree parameters. |
MenuTreeStorage::loadMultiple | function | core/ |
|
MenuTreeStorage::loadSubtreeData | function | core/ |
|
MenuTreeStorage::loadTreeData | function | core/ |
|
MenuTreeStorage::maxDepth | function | core/ |
|
MenuTreeStorage::MAX_DEPTH | constant | core/ |
The maximum depth of a menu links tree. |
MenuTreeStorage::menuNameInUse | function | core/ |
|
MenuTreeStorage::moveChildren | function | core/ |
Re-parents a link's children when the link itself is moved. |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.