Mercurial > hg > isophonics-drupal-site
annotate core/modules/layout_builder/src/OverridesSectionStorageInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
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 overrides. |
Chris@14 | 7 */ |
Chris@14 | 8 interface OverridesSectionStorageInterface extends SectionStorageInterface { |
Chris@14 | 9 |
Chris@14 | 10 /** |
Chris@14 | 11 * Returns the corresponding defaults section storage for this override. |
Chris@14 | 12 * |
Chris@16 | 13 * @return \Drupal\layout_builder\DefaultsSectionStorageInterface |
Chris@14 | 14 * The defaults section storage. |
Chris@14 | 15 * |
Chris@14 | 16 * @todo Determine if this method needs a parameter in |
Chris@18 | 17 * https://www.drupal.org/project/drupal/issues/2907413. |
Chris@14 | 18 */ |
Chris@14 | 19 public function getDefaultSectionStorage(); |
Chris@14 | 20 |
Chris@18 | 21 /** |
Chris@18 | 22 * Indicates if overrides are in use. |
Chris@18 | 23 * |
Chris@18 | 24 * @return bool |
Chris@18 | 25 * TRUE if this overrides section storage is in use, otherwise FALSE. |
Chris@18 | 26 */ |
Chris@18 | 27 public function isOverridden(); |
Chris@18 | 28 |
Chris@14 | 29 } |