Skip to content

Instantly share code, notes, and snippets.

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/0fa08c87f7c7e739001b93837fabcbb8 to your computer and use it in GitHub Desktop.
Save stborchert/0fa08c87f7c7e739001b93837fabcbb8 to your computer and use it in GitHub Desktop.
id: paragraphtypes_field_storage_paragraphs_comment
label: Define field storage for field_paragraphs_comment.
source:
plugin: empty
constants:
entity_type: paragraph
id: paragraph.field_paragraphs_comment
field_name: field_paragraphs_comment
type: string
cardinality: 1
settings:
max_length: 255
langcode: en
translatable: true
process:
entity_type: constants/entity_type
id: constants/id
field_name: constants/field_name
type: constants/type
cardinality: constants/cardinality
settings: constants/settings
langcode: constants/langcode
translatable: constants/translatable
destination:
plugin: entity:field_storage_config
migration_tags:
- up_paragraphstype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment