trait SectionStorageTrait in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.php \Drupal\layout_builder\SectionStorage\SectionStorageTrait
Provides a trait for storing sections on an object.
Hierarchy
- trait \Drupal\layout_builder\SectionStorage\SectionStorageTrait uses 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SectionListTrait:: |
protected | function | Adds a blank section to the list. | |
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
protected | function | Indicates if this section list contains a blank section. | |
SectionListTrait:: |
protected | function | Indicates if there is a section at the specified delta. | |
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
public | function | ||
SectionListTrait:: |
protected | function | Sets the section for the given delta on the display. | |
SectionListTrait:: |
abstract protected | function | Stores the information for all sections. | 4 |
SectionListTrait:: |
public | function | Magic method: Implements a deep clone. |