dab8fc4bef064f08dce38fb196be6dea7a42016f
[yaffs-website] / web / core / modules / layout_builder / src / LayoutBuilderEnabledInterface.php
1 <?php
2
3 namespace Drupal\layout_builder;
4
5 /**
6  * Provides methods for enabling and disabling Layout Builder.
7  */
8 interface LayoutBuilderEnabledInterface {
9
10   /**
11    * Determines if Layout Builder is enabled.
12    *
13    * @return bool
14    *   TRUE if Layout Builder is enabled, FALSE otherwise.
15    */
16   public function isLayoutBuilderEnabled();
17
18   /**
19    * Enables the Layout Builder.
20    *
21    * @return $this
22    */
23   public function enableLayoutBuilder();
24
25   /**
26    * Disables the Layout Builder.
27    *
28    * @return $this
29    */
30   public function disableLayoutBuilder();
31
32 }