summaryrefslogtreecommitdiff
path: root/modules/fahad/clubs/config/install/migrate_plus.migration.clubs.yml
blob: 90bec4a016f98d6629356f5b04392c5a33dec291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
langcode: en
status: true
dependencies: {  }
id: clubs
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags: null
migration_group: null
label: 'Custom Content migration from CSV for Clubs'
source:
  plugin: csv
  path: /var/www/html/project/docroot/test_migration_trail.csv
  header_row_count: 1
  keys:
    - id
process:
  type:
    plugin: default_value
    default_value: clubs
  title: title
  body: body
  field_class: class
  field_student_volunteer: student_volunteer
  field_club_category:
    -
      plugin: entity_lookup
      entity_type: taxonomy_term
      bundle: club_category
      source: category
  field_faculty_incharge:
    -
      plugin: entity_lookup
      entity_type: node
      bundle: fac_page
      source: faculty_incharge
  field_club_department:
    -
      plugin: entity_lookup
      entity_type: node
      bundle: department
      source: department
destination:
  plugin: 'entity:node'
migration_dependencies:
  required: {  }
  optional: {  }