Chris@14: id: d7_taxonomy_term Chris@14: label: Taxonomy terms Chris@14: audit: true Chris@14: migration_tags: Chris@14: - Drupal 7 Chris@14: - Content Chris@14: deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver Chris@14: source: Chris@14: plugin: d7_taxonomy_term Chris@14: process: Chris@14: # If you are using this file to build a custom migration consider removing Chris@14: # the tid field to allow incremental migrations. Chris@14: tid: tid Chris@14: vid: Chris@14: plugin: migration_lookup Chris@14: migration: d7_taxonomy_vocabulary Chris@14: source: vid Chris@14: name: name Chris@14: 'description/value': description Chris@14: 'description/format': format Chris@14: weight: weight Chris@14: # Only attempt to stub real (non-zero) parents. Chris@14: parent_id: Chris@14: - Chris@14: plugin: skip_on_empty Chris@14: method: process Chris@14: source: parent Chris@14: - Chris@14: plugin: migration_lookup Chris@14: migration: d7_taxonomy_term Chris@14: parent: Chris@14: plugin: default_value Chris@14: default_value: 0 Chris@14: source: '@parent_id' Chris@14: forum_container: is_container Chris@14: changed: timestamp Chris@17: langcode: language Chris@14: destination: Chris@14: plugin: entity:taxonomy_term Chris@14: migration_dependencies: Chris@14: required: Chris@14: - d7_taxonomy_vocabulary Chris@14: optional: Chris@14: - d7_field_instance