Workbench Moderation to Content Moderation
Categories
Component ID
2908293
Component name
Workbench Moderation to Content Moderation
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
425
Component created
Component changed
Component body
This module migrates the Workbench Moderation module to the Content Moderation module in Drupal 8.4.
This module executes the following steps to perform the migration:
- States and transitions are stored in state (i.e. the Workflow entity is created)
- Entity state maps are stored in a temporary location by the migration system, then removed from entities
- Workbench Moderation is uninstalled
- Workflows and Content Moderation are installed
- States and transitions are migrated (i.e. the Workflow entity is created)
- The temporary state maps are restored to their original entities
Disclaimer
This module is experimental and should NOT be used on a live production system. Thoroughly test before running. Recovery of data is NOT guaranteed.
Tests
This module contains extensive automated test coverage of migrating moderatable entities in various states of revision and/or translation. We think they are pretty thorough, but feel free to suggest additional test cases!
How to use
Once you have updated to Drupal 8.4, you can run the migration using Drush (8.x and 9.x are both supported). Back up your database and run the following command:drush wbm2cm-migrate