interface SupportAwareSectionStorageManagerInterface
Interface for section manager that knows whether it supports view modes.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface
- interface \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface
- interface \Drupal\layout_builder\SectionStorage\SupportAwareSectionStorageManagerInterface extends \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface
- interface \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface
Expanded class hierarchy of SupportAwareSectionStorageManagerInterface
All classes that implement SupportAwareSectionStorageManagerInterface
1 file declares its use of SupportAwareSectionStorageManagerInterface
- LayoutBuilderEntityViewDisplay.php in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php
File
-
core/
modules/ layout_builder/ src/ SectionStorage/ SupportAwareSectionStorageManagerInterface.php, line 10
Namespace
Drupal\layout_builder\SectionStorageView source
interface SupportAwareSectionStorageManagerInterface extends SectionStorageManagerInterface {
/**
* Determines whether a view mode is not supported by any storage.
*
* @param string $entity_type_id
* The entity type id.
* @param string $bundle
* The bundle.
* @param string $view_mode
* The view mode.
*
* @return bool
* TRUE if the view mode is not supported, otherwise FALSE.
*/
public function notSupported(string $entity_type_id, string $bundle, string $view_mode) : bool;
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overrides |
|---|---|---|---|---|
| DiscoveryInterface::getDefinition | public | function | Gets a specific plugin definition. | 4 |
| DiscoveryInterface::getDefinitions | public | function | Gets the definition of all plugins for this type. | 3 |
| DiscoveryInterface::hasDefinition | public | function | Indicates if a specific plugin definition exists. | 1 |
| SectionStorageManagerInterface::findByContext | public | function | Finds the section storage to load based on available contexts. | 1 |
| SectionStorageManagerInterface::load | public | function | Loads a section storage with the provided contexts applied. | 1 |
| SectionStorageManagerInterface::loadEmpty | public | function | Loads a section storage with no associated section list. | 1 |
| SupportAwareSectionStorageManagerInterface::notSupported | public | function | Determines whether a view mode is not supported by any storage. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.