Mercurial > hg > isophonics-drupal-site
annotate core/modules/field/migrations/d6_field_instance.yml @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
rev | line source |
---|---|
Chris@14 | 1 id: d6_field_instance |
Chris@14 | 2 label: Field instance configuration |
Chris@14 | 3 migration_tags: |
Chris@14 | 4 - Drupal 6 |
Chris@14 | 5 - Configuration |
Chris@14 | 6 class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration |
Chris@17 | 7 field_plugin_method: alterFieldInstanceMigration |
Chris@14 | 8 source: |
Chris@14 | 9 plugin: d6_field_instance |
Chris@14 | 10 constants: |
Chris@14 | 11 entity_type: node |
Chris@14 | 12 |
Chris@14 | 13 process: |
Chris@14 | 14 # We skip field types that don't exist because they weren't migrated by the |
Chris@14 | 15 # field migration. |
Chris@14 | 16 field_type_exists: |
Chris@14 | 17 - |
Chris@14 | 18 plugin: migration_lookup |
Chris@14 | 19 migration: d6_field |
Chris@14 | 20 source: |
Chris@14 | 21 - field_name |
Chris@14 | 22 - |
Chris@14 | 23 plugin: extract |
Chris@14 | 24 index: |
Chris@14 | 25 - 1 |
Chris@14 | 26 - |
Chris@14 | 27 plugin: skip_on_empty |
Chris@14 | 28 method: row |
Chris@14 | 29 entity_type: 'constants/entity_type' |
Chris@14 | 30 field_name: field_name |
Chris@14 | 31 bundle: |
Chris@14 | 32 - |
Chris@14 | 33 plugin: migration_lookup |
Chris@14 | 34 migration: d6_node_type |
Chris@14 | 35 source: type_name |
Chris@14 | 36 - |
Chris@14 | 37 plugin: skip_on_empty |
Chris@14 | 38 method: row |
Chris@14 | 39 label: label |
Chris@14 | 40 description: description |
Chris@14 | 41 required: required |
Chris@14 | 42 status: active |
Chris@14 | 43 settings: |
Chris@14 | 44 plugin: d6_field_field_settings |
Chris@14 | 45 source: |
Chris@14 | 46 - widget_type |
Chris@14 | 47 - widget_settings |
Chris@14 | 48 - global_settings |
Chris@14 | 49 |
Chris@14 | 50 default_value_callback: '' |
Chris@14 | 51 default_value: |
Chris@14 | 52 plugin: d6_field_instance_defaults |
Chris@14 | 53 source: |
Chris@14 | 54 - widget_type |
Chris@14 | 55 - widget_settings |
Chris@18 | 56 translatable: translatable |
Chris@14 | 57 destination: |
Chris@14 | 58 plugin: entity:field_config |
Chris@14 | 59 migration_dependencies: |
Chris@14 | 60 required: |
Chris@14 | 61 - d6_node_type |
Chris@14 | 62 - d6_field |