Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
SectionStorageManager::loadEmpty function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Loads a section storage with no associated section list.
SectionStorageManager::loadFromRoute function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Loads a section storage populated with a section list derived from a route.
SectionStorageManager::loadFromStorageId function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Loads a section storage populated with an existing section list.
SectionStorageManager::__construct function core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php Constructs a new SectionStorageManager object.
SectionStorageManagerInterface interface core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Provides the interface for a plugin manager of section storage types.
SectionStorageManagerInterface.php file core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php
SectionStorageManagerInterface::findByContext function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Finds the section storage to load based on available contexts.
SectionStorageManagerInterface::load function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage with the provided contexts applied.
SectionStorageManagerInterface::loadEmpty function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage with no associated section list.
SectionStorageManagerInterface::loadFromRoute function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage populated with a section list derived from a route.
SectionStorageManagerInterface::loadFromStorageId function core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php Loads a section storage populated with an existing section list.
SectionStorageManagerTest class core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @coversDefaultClass \Drupal\layout_builder\SectionStorage\SectionStorageManager
SectionStorageManagerTest.php file core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php
SectionStorageManagerTest::$contextHandler property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The context handler.
SectionStorageManagerTest::$discovery property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The plugin discovery.
SectionStorageManagerTest::$factory property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The plugin factory.
SectionStorageManagerTest::$manager property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The section storage manager.
SectionStorageManagerTest::$plugin property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The plugin.
SectionStorageManagerTest::providerTestFindByContext function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php Provides test data for ::testFindByContext().
SectionStorageManagerTest::setUp function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php
SectionStorageManagerTest::testConstructNoContextHandler function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::__construct
SectionStorageManagerTest::testFindByContext function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::findByContext
SectionStorageManagerTest::testFindByContextCacheableSectionStorage function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::findByContext
SectionStorageManagerTest::testFindDefinitions function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::findDefinitions
SectionStorageManagerTest::testLoad function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::load
SectionStorageManagerTest::testLoadEmpty function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadEmpty
SectionStorageManagerTest::testLoadFromRoute function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromRoute
SectionStorageManagerTest::testLoadFromRouteNull function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromRoute
SectionStorageManagerTest::testLoadFromStorageId function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::loadFromStorageId
SectionStorageManagerTest::testLoadNull function core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @covers ::load
SectionStorageTestBase class core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Provides a base class for testing implementations of section storage.
SectionStorageTestBase.php file core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php
SectionStorageTestBase::$modules property core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Modules to enable.
SectionStorageTestBase::$sectionStorage property core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php The section storage implementation.
SectionStorageTestBase::assertSections function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Asserts that the field list has the expected sections.
SectionStorageTestBase::getSectionStorage function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Sets up the section storage entity.
SectionStorageTestBase::providerTestRemoveAllSections function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Provides test data for ::testRemoveAllSections().
SectionStorageTestBase::setUp function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php
SectionStorageTestBase::testAppendSection function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::appendSection
SectionStorageTestBase::testClone function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Tests __clone().
SectionStorageTestBase::testGetSection function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::getSection
SectionStorageTestBase::testGetSectionInvalidDelta function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::getSection
SectionStorageTestBase::testGetSections function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php Tests ::getSections().
SectionStorageTestBase::testInsertSection function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::insertSection
SectionStorageTestBase::testRemoveAllSections function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::removeAllSections
SectionStorageTestBase::testRemoveMultipleSections function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::removeSection
SectionStorageTestBase::testRemoveSection function core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php @covers ::removeSection
SectionStorageTrait trait core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php Provides a trait for storing sections on an object.
SectionStorageTrait.php file core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php
SectionStorageTrait::addBlankSection function core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php Adds a blank section to the list.

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