You are here

public function LayoutBuilderEnabledInterface::isLayoutBuilderEnabled in Drupal 10

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

1 method overrides LayoutBuilderEnabledInterface::isLayoutBuilderEnabled()
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();