Mercurial > hg > cmmr2012-drupal-site
diff core/modules/field/migrations/d6_field.yml @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | a9cd425dd02b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/field/migrations/d6_field.yml Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,128 @@ +id: d6_field +label: Field configuration +migration_tags: + - Drupal 6 + - Configuration +class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration +field_plugin_method: processField +source: + plugin: d6_field + constants: + entity_type: node + langcode: en +process: + entity_type: 'constants/entity_type' + status: active + langcode: 'constants/langcode' + field_name: field_name + type: + plugin: field_type + source: + - type + - widget_type + map: + userreference: + userreference_select: entity_reference + userreference_buttons: entity_reference + userreference_autocomplete: entity_reference + nodereference: + nodereference_select: entity_reference + number_integer: + number: integer + optionwidgets_select: list_integer + optionwidgets_buttons: list_integer + optionwidgets_onoff: boolean + number_decimal: + number: decimal + optionwidgets_select: list_float + optionwidgets_buttons: list_float + optionwidgets_onoff: boolean + number_float: + number: float + optionwidgets_select: list_float + optionwidgets_buttons: list_float + optionwidgets_onoff: boolean + email: + email_textfield: email + filefield: + imagefield_widget: image + filefield_widget: file + fr_phone: + phone_textfield: telephone + be_phone: + phone_textfield: telephone + it_phone: + phone_textfield: telephone + el_phone: + phone_textfield: telephone + ch_phone: + phone_textfield: telephone + ca_phone: + phone_textfield: telephone + cr_phone: + phone_textfield: telephone + pa_phone: + phone_textfield: telephone + gb_phone: + phone_textfield: telephone + ru_phone: + phone_textfield: telephone + ua_phone: + phone_textfield: telephone + es_phone: + phone_textfield: telephone + au_phone: + phone_textfield: telephone + cs_phone: + phone_textfield: telephone + hu_phone: + phone_textfield: telephone + pl_phone: + phone_textfield: telephone + nl_phone: + phone_textfield: telephone + se_phone: + phone_textfield: telephone + za_phone: + phone_textfield: telephone + il_phone: + phone_textfield: telephone + nz_phone: + phone_textfield: telephone + br_phone: + phone_textfield: telephone + cl_phone: + phone_textfield: telephone + cn_phone: + phone_textfield: telephone + hk_phone: + phone_textfield: telephone + mo_phone: + phone_textfield: telephone + ph_phone: + phone_textfield: telephone + sg_phone: + phone_textfield: telephone + jo_phone: + phone_textfield: telephone + eg_phone: + phone_textfield: telephone + pk_phone: + phone_textfield: telephone + int_phone: + phone_textfield: telephone + cardinality: + plugin: static_map + bypass: true + source: multiple + map: + 0: 1 + 1: -1 + settings: + plugin: field_settings + source: + - '@type' + - global_settings + - type +destination: + plugin: entity:field_storage_config