Search for menu
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Menu | class | core/ |
Defines the Menu configuration entity class. |
Menu | class | core/ |
Menu source from database. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
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(). |
MenuTreeSerializationTitleFilledTest | class | core/ |
Runs MenuTreeSerializationTitleTest with a dump filled with content. |
MenuTreeSerializationTitleFilledTest.php | file | core/ |
|
MenuTreeSerializationTitleFilledTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MenuTreeSerializationTitleFilledTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
MenuTreeSerializationTitleTest | class | core/ |
Tests system_update_8001(). |
MenuTreeSerializationTitleTest.php | file | core/ |
|
MenuTreeSerializationTitleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MenuTreeSerializationTitleTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
MenuTreeSerializationTitleTest::testUpdate | function | core/ |
Ensures that the system_update_8001() runs as expected. |
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. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.