function SupportAwareSectionStorageInterface::isSupported
Same name and namespace in other branches
- 11.x core/modules/layout_builder/src/SupportAwareSectionStorageInterface.php \Drupal\layout_builder\SupportAwareSectionStorageInterface::isSupported()
Determines if layout builder is supported by a view mode.
Parameters
string $entity_type_id: The entity type id.
string $bundle: The bundle.
string $view_mode: The view mode.
Return value
bool TRUE if it is supported, otherwise FALSE.
5 methods override SupportAwareSectionStorageInterface::isSupported()
- DefaultsSectionStorage::isSupported in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - NavigationSectionStorage::isSupported in core/
modules/ navigation/ src/ Plugin/ SectionStorage/ NavigationSectionStorage.php - OverridesSectionStorage::isSupported in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - SimpleConfigSectionStorage::isSupported in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ SimpleConfigSectionStorage.php - TestStateBasedSectionStorage::isSupported in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php
File
-
core/
modules/ layout_builder/ src/ SupportAwareSectionStorageInterface.php, line 25
Class
- SupportAwareSectionStorageInterface
- Interface for section storage that knows whether it supports a view mode.
Namespace
Drupal\layout_builderCode
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.