function DefaultsSectionStorage::getDisplay

Same name in other branches
  1. 9 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::getDisplay()
  2. 8.9.x core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::getDisplay()
  3. 10 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\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.