By phenaproxima on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.5.x
Introduced in version:
8.5.0
Issue links:
Description:
As of #2409435: Upgrade path for Book 6.x and 7.x, the Drupal\book\Plugin\migrate\source\d6\Book Migrate source plugin (plugin ID d6_book) is deprecated and replaced by \Drupal\book\Plugin\migrate\source\Book (plugin ID book), which also works with Drupal 7 databases.
So:
- If you have any migrations which are using the
d6_booksource plugin, you should usebookinstead. - If you have any classes extending
Drupal\book\Plugin\migrate\source\d6\Book, they should be changed to extend\Drupal\book\Plugin\migrate\source\Bookinstead.
For example, a migration like this:
id: my_book_migration
label: 'Example Book migration'
source:
plugin: d6_book
...should be changed to look like this:
id: my_book_migration
label: 'Example Book migration'
source:
plugin: book
Impacts:
Module developers