Migrate Devel
Categories
Component ID
2855789
Component name
Migrate Devel
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
194
Component created
Component changed
Component body
Utilities to help out developers when creating migrations.
- Reverts migrations before they are run and clears their cache when
--migrate-debugoption is provided. This works with bothmigrate-importandmigrate-statusThis requires config_update if you use migrate_plus because migrations go into config. --migrate-debugused indrush midrush command will also print out each row as it's being migrated. Also provides a--migrate-debug-prewhich does the same thing to the source row before the migration is run on the row.
This works with migrate_tools and migrate_run.
Currently uses Kint (from devel) directly to print out debug information instead of devel in order to take advantage of cli coloring and named variable debugging. This may change in the future.
Options are:
--migrate-debug- Prints out rows as they run. Can be used inmigrate-importormigrate-statusand will revert existing migrations to the default and clear the cache for them.--migrate-debug-pre- Same as above before the process is run on the row. Can be used inmigrate-import.
