Mercurial > hg > isophonics-drupal-site
annotate core/modules/field/migrations/d7_field_instance.yml @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
rev | line source |
---|---|
Chris@14 | 1 id: d7_field_instance |
Chris@14 | 2 label: Field instance configuration |
Chris@14 | 3 migration_tags: |
Chris@14 | 4 - Drupal 7 |
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: d7_field_instance |
Chris@14 | 10 constants: |
Chris@14 | 11 status: true |
Chris@14 | 12 process: |
Chris@14 | 13 type: |
Chris@14 | 14 plugin: process_field |
Chris@14 | 15 source: type |
Chris@14 | 16 method: getFieldType |
Chris@14 | 17 entity_type: entity_type |
Chris@14 | 18 field_name: field_name |
Chris@14 | 19 # The bundle needs to be statically mapped in order to support comment types |
Chris@14 | 20 # that might already exist before this migration is run. See |
Chris@14 | 21 # d7_comment_type.yml for more information. |
Chris@14 | 22 bundle: |
Chris@14 | 23 plugin: static_map |
Chris@14 | 24 source: bundle |
Chris@14 | 25 bypass: true |
Chris@14 | 26 map: |
Chris@14 | 27 comment_node_forum: comment_forum |
Chris@14 | 28 label: label |
Chris@14 | 29 description: description |
Chris@14 | 30 required: required |
Chris@14 | 31 status: 'constants/status' |
Chris@14 | 32 settings: |
Chris@14 | 33 plugin: d7_field_instance_settings |
Chris@14 | 34 source: |
Chris@14 | 35 - settings |
Chris@14 | 36 - widget |
Chris@14 | 37 - field_definition |
Chris@14 | 38 default_value_function: '' |
Chris@14 | 39 default_value: |
Chris@14 | 40 plugin: d7_field_instance_defaults |
Chris@14 | 41 source: |
Chris@14 | 42 - default_value |
Chris@14 | 43 - widget |
Chris@14 | 44 translatable: translatable |
Chris@14 | 45 destination: |
Chris@14 | 46 plugin: entity:field_config |
Chris@14 | 47 migration_dependencies: |
Chris@14 | 48 required: |
Chris@14 | 49 - d7_field |
Chris@14 | 50 optional: |
Chris@14 | 51 - d7_node_type |
Chris@14 | 52 - d7_comment_type |
Chris@14 | 53 - d7_taxonomy_vocabulary |