Skip to content

Instantly share code, notes, and snippets.

@stborchert
Last active December 14, 2020 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stborchert/19b367fdf98ea3962965e3f7aa156efd to your computer and use it in GitHub Desktop.
Save stborchert/19b367fdf98ea3962965e3f7aa156efd to your computer and use it in GitHub Desktop.
id: paragraphtypes_form_display__status
label: Add status field to paragraph form display.
source:
plugin: up_paragraphs_type
exclude:
- text
constants:
entity_type: paragraph
field_name: status
form_mode: default
options:
region: content
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
weight: 5
process:
bundle: id
entity_type: constants/entity_type
field_name: constants/field_name
form_mode: constants/form_mode
options: constants/options
destination:
plugin: component_entity_form_display
migration_tags:
- up_paragraphstype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment