X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fblock_content%2Fmigrations%2Fd7_custom_block.yml;fp=web%2Fcore%2Fmodules%2Fblock_content%2Fmigrations%2Fd7_custom_block.yml;h=16c659f699a42d9289f413bc318d49ee736f6983;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/block_content/migrations/d7_custom_block.yml b/web/core/modules/block_content/migrations/d7_custom_block.yml new file mode 100644 index 000000000..16c659f69 --- /dev/null +++ b/web/core/modules/block_content/migrations/d7_custom_block.yml @@ -0,0 +1,24 @@ +id: d7_custom_block +label: Custom blocks +audit: true +migration_tags: + - Drupal 7 + - Content +source: + plugin: d7_block_custom +process: + id: bid + info: info + 'body/format': + plugin: migration_lookup + migration: d7_filter_format + source: format + 'body/value': body +destination: + plugin: entity:block_content + default_bundle: basic + no_stub: true +migration_dependencies: + required: + - d7_filter_format + - block_content_body_field