function LayoutBuilderEntityFormTrait::getSectionStorage

Same name in other branches
  1. 11.x core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php \Drupal\layout_builder\Form\LayoutBuilderEntityFormTrait::getSectionStorage()

Retrieves the section storage object.

Return value

\Drupal\layout_builder\SectionStorageInterface The section storage for the current form.

1 call to LayoutBuilderEntityFormTrait::getSectionStorage()
LayoutBuilderEntityFormTrait::saveTasks in core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php
Performs tasks that are needed during the save process.

File

core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php, line 67

Class

LayoutBuilderEntityFormTrait
Provides a trait for common methods used in Layout Builder entity forms.

Namespace

Drupal\layout_builder\Form

Code

public function getSectionStorage() : SectionStorageInterface {
    return $this->sectionStorage;
}

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