Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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
MenuTreeStorage::resetDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
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
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.
MenuTreeStorage::__construct function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Constructs a new \Drupal\Core\Menu\MenuTreeStorage.
MenuTreeStorageInterface interface core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Defines an interface for storing a menu tree containing menu link IDs.
MenuTreeStorageInterface.php file core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageInterface::delete function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Deletes a menu link definition from the storage.
MenuTreeStorageInterface::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the IDs for menu links that are below the given ID.
MenuTreeStorageInterface::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds expanded links in a menu given a set of possible parents.
MenuTreeStorageInterface::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns the used menu names in the tree storage.
MenuTreeStorageInterface::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorageInterface::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds the height of a subtree rooted by the given ID.
MenuTreeStorageInterface::load function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link plugin definition from the storage.
MenuTreeStorageInterface::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the enabled menu links that are below the given ID.
MenuTreeStorageInterface::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageInterface::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on route.
MenuTreeStorageInterface::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage.
MenuTreeStorageInterface::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a subtree rooted by the given ID.
MenuTreeStorageInterface::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link tree from the storage.
MenuTreeStorageInterface::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php The maximum depth of tree the storage implementation supports.
MenuTreeStorageInterface::menuNameInUse function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Determines whether a specific menu name is used in the tree.
MenuTreeStorageInterface::rebuild function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Rebuilds the stored menu link definitions.
MenuTreeStorageInterface::resetDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Clears all definitions cached in memory.
MenuTreeStorageInterface::save function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Saves a plugin definition to the storage.
MenuTreeStorageSchemaUpdateTest class core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php Tests update of menu tree storage fields.
MenuTreeStorageSchemaUpdateTest.php file core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php
MenuTreeStorageSchemaUpdateTest::$connection property core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php The database.
MenuTreeStorageSchemaUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php
MenuTreeStorageSchemaUpdateTest::setUp function core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php
MenuTreeStorageSchemaUpdateTest::testSchemaLengthAfterUpdate function core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php Tests DB behavior after update.
MenuTreeStorageTest class core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the menu tree storage.
MenuTreeStorageTest.php file core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
MenuTreeStorageTest::$connection property core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php The database connection.
MenuTreeStorageTest::$treeStorage property core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php The tested tree storage.
MenuTreeStorageTest::addMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Adds a link with the given ID and supply defaults.
MenuTreeStorageTest::assertMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests that a link's stored representation matches the expected values.
MenuTreeStorageTest::doTestEmptyStorage function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensures that there are no menu links by default.
MenuTreeStorageTest::doTestTable function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensures that table gets created on the fly.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.