Search for storage
- Search 7.x for storage
- Search 9.5.x for storage
- Search 10.3.x for storage
- Search 11.x for storage
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MenuTreeStorage::setParents | function | core/ |
Sets the materialized path field values based on the parent. |
MenuTreeStorage::treeDataRecursive | function | core/ |
Builds the data representing a menu tree. |
MenuTreeStorage::updateParentalStatus | function | core/ |
Sets has_children for the link's parent if it has visible children. |
MenuTreeStorage::__construct | function | core/ |
Constructs a new \Drupal\Core\Menu\MenuTreeStorage. |
MenuTreeStorageInterface | interface | core/ |
Defines an interface for storing a menu tree containing menu link IDs. |
MenuTreeStorageInterface.php | file | core/ |
|
MenuTreeStorageInterface::countMenuLinks | function | core/ |
Counts the total number of menu links in one menu or all menus. |
MenuTreeStorageInterface::delete | function | core/ |
Deletes a menu link definition from the storage. |
MenuTreeStorageInterface::getAllChildIds | function | core/ |
Loads all the IDs for menu links that are below the given ID. |
MenuTreeStorageInterface::getExpanded | function | core/ |
Finds expanded links in a menu given a set of possible parents. |
MenuTreeStorageInterface::getMenuNames | function | core/ |
Returns the used menu names in the tree storage. |
MenuTreeStorageInterface::getRootPathIds | function | core/ |
Returns all the IDs that represent the path to the root of the tree. |
MenuTreeStorageInterface::getSubtreeHeight | function | core/ |
Finds the height of a subtree rooted by the given ID. |
MenuTreeStorageInterface::load | function | core/ |
Loads a menu link plugin definition from the storage. |
MenuTreeStorageInterface::loadAllChildren | function | core/ |
Loads all the enabled menu links that are below the given ID. |
MenuTreeStorageInterface::loadByProperties | function | core/ |
Loads multiple plugin definitions from the storage based on properties. |
MenuTreeStorageInterface::loadByRoute | function | core/ |
Loads multiple plugin definitions from the storage based on route. |
MenuTreeStorageInterface::loadMultiple | function | core/ |
Loads multiple plugin definitions from the storage. |
MenuTreeStorageInterface::loadSubtreeData | function | core/ |
Loads a subtree rooted by the given ID. |
MenuTreeStorageInterface::loadTreeData | function | core/ |
Loads a menu link tree from the storage. |
MenuTreeStorageInterface::maxDepth | function | core/ |
The maximum depth of tree the storage implementation supports. |
MenuTreeStorageInterface::menuNameInUse | function | core/ |
Determines whether a specific menu name is used in the tree. |
MenuTreeStorageInterface::rebuild | function | core/ |
Rebuilds the stored menu link definitions. |
MenuTreeStorageInterface::resetDefinitions | function | core/ |
Clears all definitions cached in memory. |
MenuTreeStorageInterface::save | function | core/ |
Saves a plugin definition to the storage. |
MenuTreeStorageTest | class | core/ |
Tests the menu tree storage. |
MenuTreeStorageTest.php | file | core/ |
|
MenuTreeStorageTest::$connection | property | core/ |
The database connection. |
MenuTreeStorageTest::$treeStorage | property | core/ |
The tested tree storage. |
MenuTreeStorageTest::addMenuLink | function | core/ |
Adds a link with the given ID and supply defaults. |
MenuTreeStorageTest::assertMenuLink | function | core/ |
Tests that a link's stored representation matches the expected values. |
MenuTreeStorageTest::doTestEmptyStorage | function | core/ |
Ensures that there are no menu links by default. |
MenuTreeStorageTest::doTestTable | function | core/ |
Ensures that table gets created on the fly. |
MenuTreeStorageTest::moveMenuLink | function | core/ |
Moves the link with the given ID so it's under a new parent. |
MenuTreeStorageTest::setUp | function | core/ |
|
MenuTreeStorageTest::testBasicMethods | function | core/ |
Tests the tree storage when no tree was built yet. |
MenuTreeStorageTest::testLoadByProperties | function | core/ |
Tests MenuTreeStorage::loadByProperties(). |
MenuTreeStorageTest::testLoadTree | function | core/ |
Tests the loadTreeData method. |
MenuTreeStorageTest::testMenuDisabledChildLinks | function | core/ |
Tests with disabled child links. |
MenuTreeStorageTest::testMenuLinkMoving | function | core/ |
Tests the tree with moving links inside the hierarchy. |
MenuTreeStorageTest::testMenuRebuild | function | core/ |
Ensure hierarchy persists after a menu rebuild. |
MenuTreeStorageTest::testSimpleHierarchy | function | core/ |
Tests with a simple linear hierarchy. |
MenuTreeStorageTest::testSubtreeHeight | function | core/ |
Tests finding the subtree height with content menu links. |
MigrateEntityContentBaseTest::$storage | property | core/ |
The storage for entity_test_mul. |
MigrateNodeCompleteTest::$nodeStorage | property | core/ |
The entity storage for node. |
MigrateNodeCompleteTest::$nodeStorage | property | core/ |
The entity storage for node. |
MigrateNodeRevisionTest::$nodeStorage | property | core/ |
The entity storage for node. |
MigrateNodeRevisionTest::$nodeStorage | property | core/ |
The entity storage for node. |
MockPhpStorage | class | core/ |
Mock PHP storage class used for testing. |
MockPhpStorage.php | file | core/ |
Pagination
- Previous page
- Page 42
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.