public function LayoutBuilderEnabledInterface::isLayoutBuilderEnabled in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
Determines if Layout Builder is enabled.
Return value
bool TRUE if Layout Builder is enabled, FALSE otherwise.
2 methods override LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
- DefaultsSectionStorage::isLayoutBuilderEnabled in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Determines if Layout Builder is enabled.
- LayoutBuilderEntityViewDisplay::isLayoutBuilderEnabled in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Determines if Layout Builder is enabled.
File
- core/
modules/ layout_builder/ src/ LayoutBuilderEnabledInterface.php, line 16
Class
- LayoutBuilderEnabledInterface
- Provides methods for enabling and disabling Layout Builder.
Namespace
Drupal\layout_builderCode
public function isLayoutBuilderEnabled();