SectionStorage::$weight
Same name in other branches
- 9 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::weight
- 8.9.x 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;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.