comparison core/modules/layout_builder/src/OverridesSectionStorageInterface.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
2 2
3 namespace Drupal\layout_builder; 3 namespace Drupal\layout_builder;
4 4
5 /** 5 /**
6 * Defines an interface for an object that stores layout sections for overrides. 6 * Defines an interface for an object that stores layout sections for overrides.
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 */ 7 */
13 interface OverridesSectionStorageInterface extends SectionStorageInterface { 8 interface OverridesSectionStorageInterface extends SectionStorageInterface {
14 9
15 /** 10 /**
16 * Returns the corresponding defaults section storage for this override. 11 * Returns the corresponding defaults section storage for this override.
17 * 12 *
18 * @return \Drupal\layout_builder\DefaultsSectionStorageInterface 13 * @return \Drupal\layout_builder\DefaultsSectionStorageInterface
19 * The defaults section storage. 14 * The defaults section storage.
20 * 15 *
21 * @todo Determine if this method needs a parameter in 16 * @todo Determine if this method needs a parameter in
22 * https://www.drupal.org/project/drupal/issues/2936507. 17 * https://www.drupal.org/project/drupal/issues/2907413.
23 */ 18 */
24 public function getDefaultSectionStorage(); 19 public function getDefaultSectionStorage();
25 20
21 /**
22 * Indicates if overrides are in use.
23 *
24 * @return bool
25 * TRUE if this overrides section storage is in use, otherwise FALSE.
26 */
27 public function isOverridden();
28
26 } 29 }