Mercurial > hg > isophonics-drupal-site
comparison core/modules/layout_builder/src/DefaultsSectionStorageInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | c2387f117808 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
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 } |