MenuTreeStorage::$connection |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
The database connection. |
MenuTreeStorage::$definitions |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Stores definitions that have already been loaded for better performance. |
MenuTreeStorage::$menuCacheBackend |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Cache backend instance for the extracted tree data. |
MenuTreeStorage::$options |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Additional database connection options to use in queries. |
MenuTreeStorage::$serializedFields |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
List of serialized fields. |
MenuTreeStorage::$table |
property |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
The database table name. |
MenuTreeStorage::collectRoutesAndDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Traverses the menu tree and collects all the route names and definitions. |
MenuTreeStorage::countMenuLinks |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Counts the total number of menu links in one menu or all menus. |
MenuTreeStorage::definitionFields |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Determines fields that are part of the plugin definition. |
MenuTreeStorage::delete |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Deletes a menu link definition from the storage. |
MenuTreeStorage::doBuildTreeData |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Prepares the data for calling $this->treeDataRecursive(). |
MenuTreeStorage::doCollectRoutesAndDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Collects all the route names and definitions. |
MenuTreeStorage::doDeleteMultiple |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Purge menu links from the database. |
MenuTreeStorage::doFindChildrenRelativeDepth |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Finds the relative depth of this link's deepest child. |
MenuTreeStorage::doSave |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Saves a link without clearing caches. |
MenuTreeStorage::ensureTableExists |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Checks if the tree table exists and create it if not. |
MenuTreeStorage::findNoLongerExistingLinks |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Find any previously discovered menu links that no longer exist. |
MenuTreeStorage::findParent |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads the parent definition if it exists. |
MenuTreeStorage::getAllChildIds |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads all the IDs for menu links that are below the given ID. |
MenuTreeStorage::getExpanded |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Finds expanded links in a menu given a set of possible parents. |
MenuTreeStorage::getMenuNames |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Returns the used menu names in the tree storage. |
MenuTreeStorage::getRootPathIds |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Returns all the IDs that represent the path to the root of the tree. |
MenuTreeStorage::getSubtreeHeight |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Finds the height of a subtree rooted by the given ID. |
MenuTreeStorage::load |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads a menu link plugin definition from the storage. |
MenuTreeStorage::loadAllChildren |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads all the enabled menu links that are below the given ID. |
MenuTreeStorage::loadByProperties |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads multiple plugin definitions from the storage based on properties. |
MenuTreeStorage::loadByRoute |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads multiple plugin definitions from the storage based on route. |
MenuTreeStorage::loadFull |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads all table fields, not just those that are in the plugin definition. |
MenuTreeStorage::loadFullMultiple |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads all table fields for multiple menu link definitions by ID. |
MenuTreeStorage::loadLinks |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads links in the given menu, according to the given tree parameters. |
MenuTreeStorage::loadMultiple |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads multiple plugin definitions from the storage. |
MenuTreeStorage::loadSubtreeData |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads a subtree rooted by the given ID. |
MenuTreeStorage::loadTreeData |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Loads a menu link tree from the storage. |
MenuTreeStorage::maxDepth |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
The maximum depth of tree the storage implementation supports. |
MenuTreeStorage::MAX_DEPTH |
constant |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
The maximum depth of a menu links tree. |
MenuTreeStorage::menuNameInUse |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Determines whether a specific menu name is used in the tree. |
MenuTreeStorage::moveChildren |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Re-parents a link's children when the link itself is moved. |
MenuTreeStorage::prepareLink |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Prepares a link by unserializing values and saving the definition. |
MenuTreeStorage::preSave |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Fills in all the fields the database save needs, using the link definition. |
MenuTreeStorage::purgeMultiple |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Purges multiple menu links that no longer exist. |
MenuTreeStorage::rebuild |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Rebuilds the stored menu link definitions. |
MenuTreeStorage::resetDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Clears all definitions cached in memory. |
MenuTreeStorage::safeExecuteSelect |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Executes a select query while making sure the database table exists. |
MenuTreeStorage::save |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Saves a plugin definition to the storage. |
MenuTreeStorage::saveRecursive |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Saves menu links recursively. |
MenuTreeStorage::schemaDefinition |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Defines the schema for the tree table. |
MenuTreeStorage::serializedFields |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Determines serialized fields in the storage. |
MenuTreeStorage::setParents |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Sets the materialized path field values based on the parent. |
MenuTreeStorage::treeDataRecursive |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Builds the data representing a menu tree. |
MenuTreeStorage::updateParentalStatus |
function |
core/lib/Drupal/Core/Menu/MenuTreeStorage.php |
Sets has_children for the link's parent if it has visible children. |