public property SectionStorage::$weight in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::weight
- 10 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::weight
The plugin weight, optional (defaults to 0).
When an entity with layout is rendered, section storage plugins are checked, in order of their weight, to determine which one should be used to render the layout.
Type: int
File
- core/
modules/ layout_builder/ src/ Annotation/ SectionStorage.php, line 34
Class
- SectionStorage
- Defines a Section Storage type annotation object.
Namespace
Drupal\layout_builder\AnnotationCode
public $weight = 0;