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