Search for storage
- Search 7.x for storage
- Search 9.5.x for storage
- Search 8.9.x for storage
- Search 11.x for storage
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
MenuTreeStorage::prepareLink | function | core/ |
Prepares a link by unserializing values and saving the definition. |
MenuTreeStorage::preSave | function | core/ |
Fills in all the fields the database save needs, using the link definition. |
MenuTreeStorage::purgeMultiple | function | core/ |
Purges multiple menu links that no longer exist. |
MenuTreeStorage::rebuild | function | core/ |
|
MenuTreeStorage::resetDefinitions | function | core/ |
|
MenuTreeStorage::safeExecuteSelect | function | core/ |
Executes a select query while making sure the database table exists. |
MenuTreeStorage::save | function | core/ |
|
MenuTreeStorage::saveRecursive | function | core/ |
Saves menu links recursively. |
MenuTreeStorage::schemaDefinition | function | core/ |
Defines the schema for the tree table. |
MenuTreeStorage::serializedFields | function | core/ |
Determines serialized fields in the storage. |
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. |
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.