function LayoutBuilderEnabledInterface::enableLayoutBuilder

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::enableLayoutBuilder()
  2. 10 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::enableLayoutBuilder()
  3. 11.x core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::enableLayoutBuilder()

Enables the Layout Builder.

Return value

$this

2 methods override LayoutBuilderEnabledInterface::enableLayoutBuilder()
DefaultsSectionStorage::enableLayoutBuilder in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Enables the Layout Builder.
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_builder

Code

public function enableLayoutBuilder();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.