X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Frdf%2Fmigrations%2Fd7_rdf_mapping.yml;fp=web%2Fcore%2Fmodules%2Frdf%2Fmigrations%2Fd7_rdf_mapping.yml;h=29fffe410cdd676f28e0654c2f36d0346abc8161;hp=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/rdf/migrations/d7_rdf_mapping.yml b/web/core/modules/rdf/migrations/d7_rdf_mapping.yml new file mode 100644 index 000000000..29fffe410 --- /dev/null +++ b/web/core/modules/rdf/migrations/d7_rdf_mapping.yml @@ -0,0 +1,37 @@ +id: d7_rdf_mapping +label: Drupal 7 RDF Mappings +migration_tags: + - Drupal 7 + - Configuration +source: + plugin: d7_rdf_mapping +process: + id: + plugin: concat + source: + - type + - bundle + delimiter: . + targetEntityType: type + bundle: bundle + types: types + fieldMappings: + plugin: sub_process + source: fieldMappings + process: + properties: predicates + datatype: datatype + datatype_callback/callable: + plugin: static_map + source: callback + bypass: true + map: + date_iso8601: Drupal\rdf\CommonDataConverter::dateIso8601Value + mapping_type: type +destination: + plugin: entity:rdf_mapping +migration_dependencies: + optional: + - d7_comment_type + - d7_node_type + - d7_taxonomy_vocabulary