public function LayoutBuilderEnabledInterface::enableLayoutBuilder in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::enableLayoutBuilder()
- 9 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::enableLayoutBuilder()
Enables the Layout Builder.
Return value
$this
1 method overrides LayoutBuilderEnabledInterface::enableLayoutBuilder()
- LayoutBuilderEntityViewDisplay::enableLayoutBuilder in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Enables the Layout Builder.
File
- core/
modules/ layout_builder/ src/ LayoutBuilderEnabledInterface.php, line 23
Class
- LayoutBuilderEnabledInterface
- Provides methods for enabling and disabling Layout Builder.
Namespace
Drupal\layout_builderCode
public function enableLayoutBuilder();