d7_rdf_mapping.yml

Same filename in other branches
  1. 8.9.x core/modules/rdf/migrations/d7_rdf_mapping.yml
core/modules/rdf/migrations/d7_rdf_mapping.yml

File

core/modules/rdf/migrations/d7_rdf_mapping.yml

View source
  1. id: d7_rdf_mapping
  2. label: Drupal 7 RDF Mappings
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: d7_rdf_mapping
  8. process:
  9. id:
  10. plugin: concat
  11. source:
  12. - type
  13. - bundle
  14. delimiter: .
  15. targetEntityType: type
  16. bundle: bundle
  17. types: types
  18. fieldMappings:
  19. plugin: sub_process
  20. source: fieldMappings
  21. process:
  22. properties: predicates
  23. datatype: datatype
  24. datatype_callback/callable:
  25. plugin: static_map
  26. source: callback
  27. bypass: true
  28. map:
  29. date_iso8601: Drupal\rdf\CommonDataConverter::dateIso8601Value
  30. mapping_type: type
  31. destination:
  32. plugin: entity:rdf_mapping
  33. migration_dependencies:
  34. optional:
  35. - d7_comment_type
  36. - d7_node_type
  37. - d7_taxonomy_vocabulary

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.