interface DefaultsSectionStorageInterface
Defines an interface for an object that stores layout sections for defaults.
Hierarchy
- interface \Drupal\layout_builder\DefaultsSectionStorageInterface extends \Drupal\layout_builder\SectionStorageInterface, \Drupal\Core\Config\Entity\ThirdPartySettingsInterface, \Drupal\layout_builder\LayoutBuilderEnabledInterface, \Drupal\layout_builder\LayoutBuilderOverridableInterface
Expanded class hierarchy of DefaultsSectionStorageInterface
All classes that implement DefaultsSectionStorageInterface
5 files declare their use of DefaultsSectionStorageInterface
- DefaultsSectionStorage.php in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - LayoutBuilderDisableForm.php in core/
modules/ layout_builder/ src/ Form/ LayoutBuilderDisableForm.php - LayoutBuilderRoutesTrait.php in core/
modules/ layout_builder/ src/ Routing/ LayoutBuilderRoutesTrait.php - LayoutEntityHelperTraitTest.php in core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutEntityHelperTraitTest.php - OverridesSectionStorageTest.php in core/
modules/ layout_builder/ tests/ src/ Kernel/ OverridesSectionStorageTest.php
File
-
core/
modules/ layout_builder/ src/ DefaultsSectionStorageInterface.php, line 10
Namespace
Drupal\layout_builderView source
interface DefaultsSectionStorageInterface extends SectionStorageInterface, ThirdPartySettingsInterface, LayoutBuilderEnabledInterface, LayoutBuilderOverridableInterface {
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
|---|---|---|---|---|---|
| ContextAwarePluginInterface::getContext | public | function | Gets a defined context. | ||
| ContextAwarePluginInterface::getContextDefinition | public | function | Gets a specific context definition of the plugin. | Overrides ContextAwarePluginInterface::getContextDefinition | |
| ContextAwarePluginInterface::getContextDefinitions | public | function | Gets the context definitions of the plugin. | Overrides ContextAwarePluginInterface::getContextDefinitions | |
| ContextAwarePluginInterface::getContextMapping | public | function | Gets a mapping of the expected assignment names to their context names. | ||
| ContextAwarePluginInterface::getContexts | public | function | Gets the defined contexts. | ||
| ContextAwarePluginInterface::getContextValue | public | function | Gets the value for a defined context. | ||
| ContextAwarePluginInterface::getContextValues | public | function | Gets the values for all defined contexts. | ||
| ContextAwarePluginInterface::setContext | public | function | Set a context on this plugin. | 1 | |
| ContextAwarePluginInterface::setContextMapping | public | function | Sets a mapping of the expected assignment names to their context names. | ||
| ContextAwarePluginInterface::setContextValue | public | function | Sets the value for a defined context. | ||
| ContextAwarePluginInterface::validateContexts | public | function | Validates the set values for the defined contexts. | ||
| LayoutBuilderEnabledInterface::disableLayoutBuilder | public | function | Disables the Layout Builder. | 2 | |
| LayoutBuilderEnabledInterface::enableLayoutBuilder | public | function | Enables the Layout Builder. | 2 | |
| LayoutBuilderEnabledInterface::isLayoutBuilderEnabled | public | function | Determines if Layout Builder is enabled. | 2 | |
| LayoutBuilderOverridableInterface::isOverridable | public | function | Determines if the display allows custom overrides. | 2 | |
| LayoutBuilderOverridableInterface::setOverridable | public | function | Sets the display to allow or disallow overrides. | 2 | |
| PluginInspectionInterface::getPluginId | public | function | Gets the plugin ID of the plugin instance. | 2 | |
| SectionListInterface::appendSection | public | function | Appends a new section to the end of the list. | 1 | |
| SectionListInterface::getSection | public | function | Gets a domain object for the layout section. | 1 | |
| SectionListInterface::getSections | public | function | Gets the layout sections. | 6 | |
| SectionListInterface::insertSection | public | function | Inserts a new section at a given delta. | 1 | |
| SectionListInterface::removeAllSections | public | function | Removes all of the sections. | 1 | |
| SectionListInterface::removeSection | public | function | Removes the section at the given delta. | 1 | |
| SectionStorageInterface::access | public | function | Overrides \Drupal\Core\Access\AccessibleInterface::access(). | Overrides AccessibleInterface::access | 5 |
| SectionStorageInterface::buildRoutes | public | function | Provides the routes needed for Layout Builder UI. | 5 | |
| SectionStorageInterface::deriveContextsFromRoute | public | function | Derives the available plugin contexts from route values. | 5 | |
| SectionStorageInterface::getContextsDuringPreview | public | function | Gets contexts for use during preview. | 3 | |
| SectionStorageInterface::getLayoutBuilderUrl | public | function | Gets the URL used to display the Layout Builder UI. | 5 | |
| SectionStorageInterface::getPluginDefinition | public | function | Overrides \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition(). | Overrides PluginInspectionInterface::getPluginDefinition | |
| SectionStorageInterface::getRedirectUrl | public | function | Gets the URL used when redirecting away from the Layout Builder UI. | 5 | |
| SectionStorageInterface::getStorageId | public | function | Returns an identifier for this storage. | 5 | |
| SectionStorageInterface::getStorageType | public | function | Returns the type of this storage. | 3 | |
| SectionStorageInterface::isApplicable | public | function | Determines if this section storage is applicable for the current contexts. | 5 | |
| SectionStorageInterface::label | public | function | Gets the label for the object using the sections. | 5 | |
| SectionStorageInterface::save | public | function | Saves the sections. | 5 | |
| ThirdPartySettingsInterface::getThirdPartyProviders | public | function | Gets the list of third parties that store information. | 5 | |
| ThirdPartySettingsInterface::getThirdPartySetting | public | function | Gets the value of a third-party setting. | 5 | |
| ThirdPartySettingsInterface::getThirdPartySettings | public | function | Gets all third-party settings of a given module. | 5 | |
| ThirdPartySettingsInterface::setThirdPartySetting | public | function | Sets the value of a third-party setting. | 5 | |
| ThirdPartySettingsInterface::unsetThirdPartySetting | public | function | Unsets a third-party setting. | 5 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.