function DefaultsSectionStorage::getDisplay

Gets the entity storing the defaults.

Return value

\Drupal\layout_builder\Entity\LayoutEntityDisplayInterface The entity storing the defaults.

2 calls to DefaultsSectionStorage::getDisplay()
DefaultsSectionStorage::getContextsDuringPreview in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Gets contexts for use during preview.
DefaultsSectionStorage::getRouteParameters in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Provides the route parameters needed to generate a URL for this object.

File

core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php, line 110

Class

DefaultsSectionStorage
Defines the 'defaults' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

protected function getDisplay() {
  return $this->getSectionList();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.