Mercurial > hg > isophonics-drupal-site
diff core/modules/field/migrations/d7_field.yml @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | 129ea1e6d783 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/field/migrations/d7_field.yml Mon Apr 23 09:46:53 2018 +0100 @@ -0,0 +1,30 @@ +id: d7_field +label: Field configuration +migration_tags: + - Drupal 7 + - Configuration +class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration +field_plugin_method: processField +source: + plugin: d7_field + constants: + status: true + langcode: und +process: + entity_type: entity_type + status: 'constants/status' + langcode: 'constants/langcode' + field_name: field_name + type: + plugin: process_field + source: type + method: getFieldType + # Translatable is not migrated and the Drupal 8 default of true is used. + # If translatable is false in field storage then the field can not be + # set to translatable via the UI. + #translatable: translatable + cardinality: cardinality + settings: + plugin: d7_field_settings +destination: + plugin: entity:field_storage_config