d7_comment_entity_form_display_subject.yml 670 Bytes
Newer Older
1
id: d7_comment_entity_form_display_subject
2
label: Comment subject form display configuration
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
migration_tags:
  - Drupal 7
source:
  plugin: d7_comment_type
  constants:
    entity_type: comment
    field_name: subject
    form_mode: default
    options:
      type: string_textfield
      weight: 10
process:
  entity_type: 'constants/entity_type'
  field_name: 'constants/field_name'
  form_mode: 'constants/form_mode'
  options: 'constants/options'
  hidden:
    plugin: static_map
    source: subject
    map:
      0: true
      1: false
  bundle: bundle
destination:
  plugin: component_entity_form_display
migration_dependencies:
  required:
    - d7_comment_type