Assign disallowed types to a region of a layout

Created on 16 June 2023, over 1 year ago
Updated 17 June 2023, over 1 year ago

Problem/Motivation

Currently this module supports adding disallowed paragraph types to a layout. Assigning disallowed paragraphs on the level of regions, would support more use cases I think. This functionality would also partly fix this issue: https://www.drupal.org/project/layout_paragraphs_restriction/issues/3229861 💬 Layout Paragraphs 2.x compatibility Needs work .

Proposed resolution

Instead of assigning the disallowed paragraph types to the layout itself, we would like to assign these to the regions of the layout.
We also would like to improve the user experience of the settings form, by replacing the multiple select field, for the types, by checkboxes. Layouts and regions would be collapsible detail elements. (cfr Layout paragraphs restriction)

Remaining tasks

- Improve validation messages when dragging disallowed paragraph types in a region: https://www.drupal.org/project/layout_paragraphs/issues/3166362#comment-... 🌱 Add setting to limit what paragraph types can be in section layouts. Active

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium kensae

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024