Skip to content

Instantly share code, notes, and snippets.

@stborchert
Last active December 14, 2020 14:32
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/ade2d4e13f6e25fea84d45c9179a91ea to your computer and use it in GitHub Desktop.
Save stborchert/ade2d4e13f6e25fea84d45c9179a91ea to your computer and use it in GitHub Desktop.
id: paragraphtypes_field_paragraphs_comment
label: Adds field_paragraphs_comment to paragraph types.
source:
plugin: up_paragraphs_type
exclude:
- text
constants:
entity_type: paragraph
field_name: field_paragraphs_comment
translatable: true
label: 'Comment'
process:
entity_type: constants/entity_type
field_name: constants/field_name
bundle: id
label: constants/label
translatable: constants/translatable
destination:
plugin: entity:field_config
migration_tags:
- up_paragraphstype
migration_dependencies:
required:
- paragraphtypes_field_storage_paragraphs_comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment