3 namespace Drupal\layout_builder;
6 * Defines an interface for an object that stores layout sections for defaults.
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.
13 interface DefaultsSectionStorageInterface extends SectionStorageInterface {
16 * Determines if the defaults allow custom overrides.
19 * TRUE if custom overrides are allowed, FALSE otherwise.
21 public function isOverridable();
24 * Sets the defaults to allow or disallow overrides.
26 * @param bool $overridable
27 * TRUE if the display should allow overrides, FALSE otherwise.
31 public function setOverridable($overridable = TRUE);