function LayoutBuilderEnabledInterface::disableLayoutBuilder
Same name in other branches
- 8.9.x core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::disableLayoutBuilder()
- 10 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::disableLayoutBuilder()
- 11.x core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::disableLayoutBuilder()
Disables the Layout Builder.
Return value
$this
2 methods override LayoutBuilderEnabledInterface::disableLayoutBuilder()
- DefaultsSectionStorage::disableLayoutBuilder in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Disables the Layout Builder.
- LayoutBuilderEntityViewDisplay::disableLayoutBuilder in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Disables the Layout Builder.
File
-
core/
modules/ layout_builder/ src/ LayoutBuilderEnabledInterface.php, line 30
Class
- LayoutBuilderEnabledInterface
- Provides methods for enabling and disabling Layout Builder.
Namespace
Drupal\layout_builderCode
public function disableLayoutBuilder();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.