Mercurial > hg > isophonics-drupal-site
annotate core/modules/layout_builder/src/DefaultsSectionStorageInterface.php @ 15:e200cb7efeb3
Update Drupal core to 8.5.3 via Composer
author | Chris Cannam |
---|---|
date | Thu, 26 Apr 2018 11:26:54 +0100 |
parents | 1fec387a4317 |
children | c2387f117808 |
rev | line source |
---|---|
Chris@14 | 1 <?php |
Chris@14 | 2 |
Chris@14 | 3 namespace Drupal\layout_builder; |
Chris@14 | 4 |
Chris@14 | 5 /** |
Chris@14 | 6 * Defines an interface for an object that stores layout sections for defaults. |
Chris@14 | 7 * |
Chris@14 | 8 * @internal |
Chris@14 | 9 * Layout Builder is currently experimental and should only be leveraged by |
Chris@14 | 10 * experimental modules and development releases of contributed modules. |
Chris@14 | 11 * See https://www.drupal.org/core/experimental for more information. |
Chris@14 | 12 */ |
Chris@14 | 13 interface DefaultsSectionStorageInterface extends SectionStorageInterface { |
Chris@14 | 14 |
Chris@14 | 15 /** |
Chris@14 | 16 * Determines if the defaults allow custom overrides. |
Chris@14 | 17 * |
Chris@14 | 18 * @return bool |
Chris@14 | 19 * TRUE if custom overrides are allowed, FALSE otherwise. |
Chris@14 | 20 */ |
Chris@14 | 21 public function isOverridable(); |
Chris@14 | 22 |
Chris@14 | 23 /** |
Chris@14 | 24 * Sets the defaults to allow or disallow overrides. |
Chris@14 | 25 * |
Chris@14 | 26 * @param bool $overridable |
Chris@14 | 27 * TRUE if the display should allow overrides, FALSE otherwise. |
Chris@14 | 28 * |
Chris@14 | 29 * @return $this |
Chris@14 | 30 */ |
Chris@14 | 31 public function setOverridable($overridable = TRUE); |
Chris@14 | 32 |
Chris@14 | 33 } |