OverridesSectionStorageInterface.php 818 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Drupal\layout_builder;
  3. /**
  4. * Defines an interface for an object that stores layout sections for overrides.
  5. *
  6. * @internal
  7. * Layout Builder is currently experimental and should only be leveraged by
  8. * experimental modules and development releases of contributed modules.
  9. * See https://www.drupal.org/core/experimental for more information.
  10. */
  11. interface OverridesSectionStorageInterface extends SectionStorageInterface {
  12. /**
  13. * Returns the corresponding defaults section storage for this override.
  14. *
  15. * @return \Drupal\layout_builder\DefaultsSectionStorageInterface
  16. * The defaults section storage.
  17. *
  18. * @todo Determine if this method needs a parameter in
  19. * https://www.drupal.org/project/drupal/issues/2936507.
  20. */
  21. public function getDefaultSectionStorage();
  22. }