function LayoutBuilderEnabledInterface::isLayoutBuilderEnabled
Same name in other branches
- 8.9.x core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
- 10 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.