trait SectionStorageTrait
Provides a trait for storing sections on an object.
Hierarchy
- trait \Drupal\layout_builder\SectionStorage\SectionStorageTrait uses \Drupal\layout_builder\SectionListTrait
Deprecated
in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\layout_builder\SectionListTrait instead.
See also
https://www.drupal.org/node/3091432
File
-
core/
modules/ layout_builder/ src/ SectionStorage/ SectionStorageTrait.php, line 17
Namespace
Drupal\layout_builder\SectionStorageView source
trait SectionStorageTrait {
use SectionListTrait;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
SectionListTrait::addBlankSection | protected | function | Adds a blank section to the list. | |
SectionListTrait::appendSection | public | function | ||
SectionListTrait::count | public | function | #[\ReturnTypeWillChange] | |
SectionListTrait::getSection | public | function | ||
SectionListTrait::hasBlankSection | protected | function | Indicates if this section list contains a blank section. | |
SectionListTrait::hasSection | protected | function | Indicates if there is a section at the specified delta. | |
SectionListTrait::insertSection | public | function | ||
SectionListTrait::removeAllSections | public | function | ||
SectionListTrait::removeSection | public | function | ||
SectionListTrait::setSection | protected | function | Sets the section for the given delta on the display. | |
SectionListTrait::setSections | abstract protected | function | Stores the information for all sections. | 2 |
SectionListTrait::setSections | abstract protected | function | Stores the information for all sections. | 2 |
SectionListTrait::__clone | public | function | Magic method: Implements a deep clone. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.