reverted: --- b/core/modules/book/migration_templates/d7_book.yml +++ /dev/null @@ -1,24 +0,0 @@ -id: d7_book -label: Books -migration_tags: - - Drupal 7 -source: - plugin: book -process: - nid: nid - 'book/bid': bid - 'book/weight': weight - 'book/pid': - - - plugin: skip_on_empty - method: process - source: plid - - - plugin: migration - migration: d7_book -destination: - plugin: book -migration_dependencies: - required: - - d7_node - - d7_menu_links reverted: --- b/core/modules/book/migration_templates/d7_book_settings.yml +++ /dev/null @@ -1,17 +0,0 @@ -id: d7_book_settings -label: Drupal 7 book configuration -migration_tags: - - Drupal 7 -source: - plugin: variable - variables: - - book_child_type - - book_block_mode - - book_allowed_types -process: - child_type: book_child_type - 'block/navigation/mode': book_block_mode - allowed_types: book_allowed_types -destination: - plugin: config - config_name: book.settings only in patch2: unchanged: --- /dev/null +++ b/core/modules/book/migrations/d7_book.yml @@ -0,0 +1,24 @@ +id: d7_book +label: Books +migration_tags: + - Drupal 7 +source: + plugin: book +process: + nid: nid + 'book/bid': bid + 'book/weight': weight + 'book/pid': + - + plugin: skip_on_empty + method: process + source: plid + - + plugin: migration + migration: d7_book +destination: + plugin: book +migration_dependencies: + required: + - d7_node + - d7_menu_links only in patch2: unchanged: --- /dev/null +++ b/core/modules/book/migrations/d7_book_settings.yml @@ -0,0 +1,17 @@ +id: d7_book_settings +label: Drupal 7 book configuration +migration_tags: + - Drupal 7 +source: + plugin: variable + variables: + - book_child_type + - book_block_mode + - book_allowed_types +process: + child_type: book_child_type + 'block/navigation/mode': book_block_mode + allowed_types: book_allowed_types +destination: + plugin: config + config_name: book.settings