SectionStorage::$allow_inline_blocks
Same name and namespace in other branches
- 11.x core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::allow_inline_blocks
Indicates that this section storage allows inline block creation.
If TRUE, the 'Create content block' link will be shown as part of the choose block off-canvas dialog. If FALSE, the link will be hidden and will not be possible to add new inline blocks from the Layout Builder UI. Defaults to TRUE.
Type: bool
See also
\Drupal\layout_builder\Controller\ChooseBlockController
File
-
core/
modules/ layout_builder/ src/ Annotation/ SectionStorage.php, line 75
Class
- SectionStorage
- Defines a Section Storage type annotation object.
Namespace
Drupal\layout_builder\AnnotationCode
public bool $allow_inline_blocks = TRUE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.