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.
Comments
Comment #2
miro_dietikerPlease provide references to the related core issues. I heard there are still some problems with the field layout in core.
Comment #3
johnchqueAdded 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.
Comment #4
brianperryWondering 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.
Comment #5
miro_dietikerBehavior 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.
Comment #6
andileco commentedHi @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.