You are here

protected function DefaultsSectionStorage::getDisplay in Drupal 8

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

Class

DefaultsSectionStorage
Defines the 'defaults' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

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