Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / layout_builder / src / DefaultsSectionStorageInterface.php
1 <?php
2
3 namespace Drupal\layout_builder;
4
5 use Drupal\Core\Config\Entity\ThirdPartySettingsInterface;
6
7 /**
8  * Defines an interface for an object that stores layout sections for defaults.
9  *
10  * @internal
11  *   Layout Builder is currently experimental and should only be leveraged by
12  *   experimental modules and development releases of contributed modules.
13  *   See https://www.drupal.org/core/experimental for more information.
14  *
15  * @todo Refactor this interface in https://www.drupal.org/node/2985362.
16  */
17 interface DefaultsSectionStorageInterface extends SectionStorageInterface, ThirdPartySettingsInterface, LayoutBuilderEnabledInterface {
18
19   /**
20    * Determines if the defaults allow custom overrides.
21    *
22    * @return bool
23    *   TRUE if custom overrides are allowed, FALSE otherwise.
24    */
25   public function isOverridable();
26
27   /**
28    * Sets the defaults to allow or disallow overrides.
29    *
30    * @param bool $overridable
31    *   TRUE if the display should allow overrides, FALSE otherwise.
32    *
33    * @return $this
34    */
35   public function setOverridable($overridable = TRUE);
36
37 }