Change record status: 
Project: 
Introduced in branch: 
11.2.x
Introduced in version: 
11.2.0
Description: 

In #2957425: Allow the inline creation of non-reusable Custom Blocks in the layout builder a link to create inline blocks in Layout Builder was introduced to allow editors adding new non-reusable inline blocks to layout builder sections.

However, that logic could not be disabled, so any module providing section storages was forced to have that link, or override the "Layout Builder Choose Block" controller.

In order to make it optional per section storage plugin, a new optional parameter in SectionStorage annotation/attribute has been introduced: allow_inline_blocks.

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. Its default value is TRUE to maintain BC compatibility.

Impacts: 
Module developers