Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / user / migration_templates / user_profile_field.yml
1 id: user_profile_field
2 label: User profile field configuration
3 migration_tags:
4   - Drupal 6
5   - Drupal 7
6 source:
7   plugin: profile_field
8   constants:
9     entity_type: user
10 process:
11   entity_type: 'constants/entity_type'
12   field_name: name
13   type:
14     plugin: static_map
15     source: type
16     map:
17       checkbox: boolean
18       date: datetime
19       list: text
20       selection: list_string
21       textfield: text
22       textarea: text_long
23       url: link
24   settings:
25     plugin: profile_field_settings
26     source: type
27   'settings/allowed_values': options
28   cardinality:
29     plugin: static_map
30     default_value: 1
31     source: type
32     map:
33       list: -1
34 destination:
35   plugin: entity:field_storage_config