Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 8.9.x for storage
  4. Search 10.3.x for storage
  5. Other projects
Title Object type File name Summary
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.
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.
MenuTreeStorageTest::moveMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Moves the link with the given ID so it's under a new parent.
MenuTreeStorageTest::setUp function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
MenuTreeStorageTest::testBasicMethods function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree storage when no tree was built yet.
MenuTreeStorageTest::testLoadByProperties function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests MenuTreeStorage::loadByProperties().
MenuTreeStorageTest::testLoadTree function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the loadTreeData method.
MenuTreeStorageTest::testMenuDisabledChildLinks function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with disabled child links.
MenuTreeStorageTest::testMenuLinkMoving function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree with moving links inside the hierarchy.
MenuTreeStorageTest::testMenuRebuild function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensure hierarchy persists after a menu rebuild.
MenuTreeStorageTest::testSimpleHierarchy function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with a simple linear hierarchy.
MenuTreeStorageTest::testSubtreeHeight function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests finding the subtree height with content menu links.
MigrateEntityContentBaseTest::$storage property core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php The storage for entity_test_mul.
MigrateNodeCompleteTest::$nodeStorage property core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeCompleteTest.php The entity storage for node.
MigrateNodeCompleteTest::$nodeStorage property core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php The entity storage for node.
MigrateNodeRevisionTest::$nodeStorage property core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php The entity storage for node.
MigrateNodeRevisionTest::$nodeStorage property core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php The entity storage for node.
MockPhpStorage class core/modules/system/src/PhpStorage/MockPhpStorage.php Mock PHP storage class used for testing.
MockPhpStorage.php file core/modules/system/src/PhpStorage/MockPhpStorage.php
MockPhpStorage::$configuration property core/modules/system/src/PhpStorage/MockPhpStorage.php The storage configuration.
MockPhpStorage::getConfiguration function core/modules/system/src/PhpStorage/MockPhpStorage.php Gets the configuration data.

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