Problem/Motivation

With the addition of #2796173: Add experimental Field Layout module to allow entity view/form modes to switch between layouts we would be able to manage the fields provided by the behavior plugins. Which means that it would store the region of each plugin so the fields can be shown in each perspective with the ability of change them form one region to another.

Proposed resolution

Use the experimental field_layout module and allow storing regions to the field of the plugins, then after implementing the tabs for edit perspectives we can display them using the regions stored in the fields.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

yongt9412 created an issue. See original summary.

miro_dietiker’s picture

Please provide references to the related core issues. I heard there are still some problems with the field layout in core.

johnchque’s picture

Added related core issues, the issue for distinguish between different types is linked because we would need to create a layout plugin that works only for Paragraphs.

brianperry’s picture

Wondering if this issue is actually resolved. After enabling Field Layout in 8.3 I can select a layout on a paragraph type and assign fields to regions. Allows me to cut out the middle man of Display Suite which I had to use to achieve this previously.

miro_dietiker’s picture

Behavior fields are not yet registered as real / extra fields. Thus what you can choose there is just the regular content fields.
Also, perspectives are hardcoded and not mapped to a region.

A lot to do.

andileco’s picture

Hi @miro_dietiker - if you are able to write out some of what would need to happen, my colleague and I may be able to help with parts. We are especially interested in using Core's Field Layout module with the Experimental Paragraphs form display.