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 |
---|---|---|---|
MenuTreeParameters::$expandedParents | property | core/ |
An array of parent link IDs. |
MenuTreeParameters::$maxDepth | property | core/ |
The maximum depth of menu links in the resulting tree relative to the root. |
MenuTreeParameters::$minDepth | property | core/ |
The minimum depth of menu links in the resulting tree relative to the root. |
MenuTreeParameters::$root | property | core/ |
A menu link plugin ID that should be used as the root. |
MenuTreeParameters::addCondition | function | core/ |
Adds a custom query condition. |
MenuTreeParameters::addExpandedParents | function | core/ |
Adds parent menu links IDs to restrict the tree. |
MenuTreeParameters::excludeRoot | function | core/ |
Excludes the root menu link from the tree. |
MenuTreeParameters::onlyEnabledLinks | function | core/ |
Excludes links that are not enabled. |
MenuTreeParameters::serialize | function | core/ |
|
MenuTreeParameters::setActiveTrail | function | core/ |
Sets the active trail IDs used to set the inActiveTrail property. |
MenuTreeParameters::setMaxDepth | function | core/ |
Sets a maximum depth for menu tree loading. |
MenuTreeParameters::setMinDepth | function | core/ |
Sets a minimum depth for menu tree loading. |
MenuTreeParameters::setRoot | function | core/ |
Sets a root for menu tree loading. |
MenuTreeParameters::setTopLevelOnly | function | core/ |
Ensures only the top level of the tree is loaded. |
MenuTreeParameters::unserialize | function | core/ |
|
MenuTreeParameters::__serialize | function | core/ |
|
MenuTreeParameters::__unserialize | function | core/ |
|
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::$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. |
MenuTreeStorage::findParent | function | core/ |
Loads the parent definition if it exists. |
MenuTreeStorage::getAllChildIds | function | core/ |
Loads all the IDs for menu links that are below the given ID. |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.