You are here

public function LayoutBuilderEnabledInterface::isLayoutBuilderEnabled in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/LayoutBuilderEnabledInterface.php \Drupal\layout_builder\LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
  2. 10 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_builder

Code

public function isLayoutBuilderEnabled();