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