Extracted from #3534215: Implement WithDisplayBuilderInterface in Views which will act as a follow-up.
Problem/Motivation
In Views integration we have:
builder_config_iddisplay_builder_idsources
Example:
id: articles
label: Articles
module: views
display:
page_1:
display_extenders:
display_builder:
builder_config_id: default
display_builder_id: views_6861421654810
sources: [ ... ]
In Entity display integration, we have:
entity_config_idsources
Example:
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content: {}
hidden: {}
third_party_settings:
display_builder:
enabled: true
entity_config_id: default
sources: [ ... ]
In page layout (not a config entity yet but will be: #3529737: Add proper page management), we have:
builder_config_idbuilder_idsources
Example:
id: page_layout
label: 'Page Layout'
builder_config_id: default
builder_id: page_layout_686785d880bc5
sources: []
Proposed resolution
Naming:
display_builder(instead ofbuilder_config_idandentity_config_id).instance(instead ofbuilder_idanddisplay_builder_id)sourcesstays the same :)
Issue fork display_builder-3534335
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pdureau commentedI have introduced
Drupal\display_builder\StoragePropertiesNeed works because some docblocks are missing.
DisplayBuilderDisplayVariantwas not updated because out of this issue scope, but i can amend my commit with this addition if necessary.Comment #4
pdureau commentedI do DisplayBuilderDisplayVariant too?
Comment #5
pdureau commentedComment #6
mogtofu33 commentedComment #7
pdureau commentedI also align properties from DisplayVariant plugins
display_builder_sourcestosourcesdisplay_builder_idtoinstancebuilder_config_id(not stored in config yet) todisplay_builderComment #8
pdureau commentedDone. Let's test again after #3534566: Align event subscribers because they alter the same files
Comment #9
pdureau commentedComment #10
pdureau commentedComment #12
mogtofu33 commentedComment #13
pdureau commentedRemove Isla