interface OverridesSectionStorageInterface in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/OverridesSectionStorageInterface.php \Drupal\layout_builder\OverridesSectionStorageInterface
- 9 core/modules/layout_builder/src/OverridesSectionStorageInterface.php \Drupal\layout_builder\OverridesSectionStorageInterface
Defines an interface for an object that stores layout sections for overrides.
Hierarchy
- interface \Drupal\layout_builder\SectionListInterface extends \Drupal\layout_builder\Countable; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Plugin\ContextAwarePluginInterface; interface \Drupal\Core\Access\AccessibleInterface
- interface \Drupal\layout_builder\SectionStorageInterface
- interface \Drupal\layout_builder\OverridesSectionStorageInterface
- interface \Drupal\layout_builder\SectionStorageInterface
Expanded class hierarchy of OverridesSectionStorageInterface
All classes that implement OverridesSectionStorageInterface
6 files declare their use of OverridesSectionStorageInterface
- LayoutBuilderRoutesTrait.php in core/
modules/ layout_builder/ src/ Routing/ LayoutBuilderRoutesTrait.php - LayoutEntityHelperTraitTest.php in core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutEntityHelperTraitTest.php - OverridesEntityForm.php in core/
modules/ layout_builder/ src/ Form/ OverridesEntityForm.php - OverridesSectionStorage.php in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - PrepareLayout.php in core/
modules/ layout_builder/ src/ EventSubscriber/ PrepareLayout.php
File
- core/
modules/ layout_builder/ src/ OverridesSectionStorageInterface.php, line 8
Namespace
Drupal\layout_builderView source
interface OverridesSectionStorageInterface extends SectionStorageInterface {
/**
* Returns the corresponding defaults section storage for this override.
*
* @return \Drupal\layout_builder\DefaultsSectionStorageInterface
* The defaults section storage.
*
* @todo Determine if this method needs a parameter in
* https://www.drupal.org/project/drupal/issues/2907413.
*/
public function getDefaultSectionStorage();
/**
* Indicates if overrides are in use.
*
* @return bool
* TRUE if this overrides section storage is in use, otherwise FALSE.
*/
public function isOverridden();
}