LayoutBuilderEnabledInterface.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\layout_builderFile
core/modules/layout_builder/src/LayoutBuilderEnabledInterface.phpView source
<?php
namespace Drupal\layout_builder;
/**
* Provides methods for enabling and disabling Layout Builder.
*/
interface LayoutBuilderEnabledInterface {
/**
* Determines if Layout Builder is enabled.
*
* @return bool
* TRUE if Layout Builder is enabled, FALSE otherwise.
*/
public function isLayoutBuilderEnabled();
/**
* Enables the Layout Builder.
*
* @return $this
*/
public function enableLayoutBuilder();
/**
* Disables the Layout Builder.
*
* @return $this
*/
public function disableLayoutBuilder();
}
Interfaces
Name | Description |
---|---|
LayoutBuilderEnabledInterface | Provides methods for enabling and disabling Layout Builder. |