diff --git a/modules/openy_demo_bfooter/config/install/migrate_plus.migration.openy_demo_block_content_footer.yml b/modules/openy_demo_bfooter/config/install/migrate_plus.migration.openy_demo_block_content_footer.yml new file mode 100644 index 0000000..75a5ee8 --- /dev/null +++ b/modules/openy_demo_bfooter/config/install/migrate_plus.migration.openy_demo_block_content_footer.yml @@ -0,0 +1,53 @@ +langcode: en +status: true +dependencies: + enforced: + module: + - openy_demo_bfooter +id: openy_demo_block_content_footer +migration_tags: + - openy_demo_block_content_footer +migration_group: openy_demo_fblock +label: 'Create demo basic blocks in the footer' +migration_dependencies: {} +source: + plugin: embedded_data + data_rows: + - + id: 7 + code: 'e350fe26-bc73-4c69-af18-a51a052dbcd3' + description: 'Footer Social Block' + title: '' + body: | + + - + id: 8 + code: 'cb76bc7c-a957-4b69-96fb-e565ee85f38a' + description: 'Footer Copyright Block' + title: '' + body: | +

© [current-date:custom:Y] YMCA

+

The YMCA is a 501(c)(3) not-for-profit social services organization dedicated to Youth Development, Healthy Living, and Social Responsibility.

+ ids: + id: + type: integer +process: + langcode: + plugin: default_value + source: language + default_value: en + type: + plugin: default_value + default_value: basic_block + uuid: code + info: description + field_block_content/value: body + field_block_content/format: + plugin: default_value + default_value: full_html +destination: + plugin: entity:block_content diff --git a/modules/openy_demo_bfooter/config/install/migrate_plus.migration_group.openy_demo_fblock.yml b/modules/openy_demo_bfooter/config/install/migrate_plus.migration_group.openy_demo_fblock.yml new file mode 100644 index 0000000..8bd248c --- /dev/null +++ b/modules/openy_demo_bfooter/config/install/migrate_plus.migration_group.openy_demo_fblock.yml @@ -0,0 +1,7 @@ +langcode: en +status: true +dependencies: { } +id: openy_demo_fblock +label: 'Footer Block' +description: 'Imports blocks that are being used in footer.' +module: openy_demo_bfooter diff --git a/modules/openy_demo_bfooter/openy_demo_bfooter.info.yml b/modules/openy_demo_bfooter/openy_demo_bfooter.info.yml new file mode 100644 index 0000000..d34377d --- /dev/null +++ b/modules/openy_demo_bfooter/openy_demo_bfooter.info.yml @@ -0,0 +1,11 @@ +name: Open Y Demo Block Footer +description: Stores migrations to import demo Footer blocks. +type: module +core_version_requirement: ^8 || ^9 +version: 8.x-1.0 +package: Open Y +dependencies: + - drupal:migrate + - migrate_plus:migrate_plus + - migrate_tools:migrate_tools + - openy_block_basic:openy_block_basic