interface SupportAwareSectionStorageInterface
Interface for section storage that knows whether it supports a view mode.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Access\AccessibleInterface; interface \Drupal\Core\Plugin\ContextAwarePluginInterface extends \Drupal\Component\Plugin\ContextAwarePluginInterface; interface \Drupal\layout_builder\SectionListInterface extends \Drupal\layout_builder\Countable
- interface \Drupal\layout_builder\SectionStorageInterface extends \Drupal\layout_builder\SectionListInterface, \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Core\Plugin\ContextAwarePluginInterface, \Drupal\Core\Access\AccessibleInterface
- interface \Drupal\layout_builder\SupportAwareSectionStorageInterface extends \Drupal\layout_builder\SectionStorageInterface
- interface \Drupal\layout_builder\SectionStorageInterface extends \Drupal\layout_builder\SectionListInterface, \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Core\Plugin\ContextAwarePluginInterface, \Drupal\Core\Access\AccessibleInterface
Expanded class hierarchy of SupportAwareSectionStorageInterface
All classes that implement SupportAwareSectionStorageInterface
1 file declares its use of SupportAwareSectionStorageInterface
- SectionStorageManager.php in core/
modules/ layout_builder/ src/ SectionStorage/ SectionStorageManager.php
File
-
core/
modules/ layout_builder/ src/ SupportAwareSectionStorageInterface.php, line 10
Namespace
Drupal\layout_builderView source
interface SupportAwareSectionStorageInterface extends SectionStorageInterface {
/**
* Determines if layout builder is supported by a view mode.
*
* @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 it is supported, otherwise FALSE.
*/
public function isSupported(string $entity_type_id, string $bundle, string $view_mode) : bool;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.