Migrate Devel


This project is not covered by Drupal’s security advisory policy.

--migrate-debug demonstration
--migrate-debug-pre demonstration

Utilities to help out developers when creating migrations.

  1. Reverts migrations before they are run and clears their cache when --migrate-debug option is provided. This works with both migrate-import and migrate-status This requires config_update if you use migrate_plus because migrations go into config.
  2. --migrate-debug used indrush mi drush 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:

  1. --migrate-debug - Prints out rows as they run. Can be used in migrate-import or migrate-status and will revert existing migrations to the default and clear the cache for them.
  2. --migrate-debug-pre - Same as above before the process is run on the row. Can be used in migrate-import.
Supporting organizations: 

Migrate Devel项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
10
维护状态: 
积极维护中
开发状态: 
积极开发中

开发版本下载:

版本下载地址发布日期发布说明翻译下载
8.x-1.x-devtar.gz (9.25 KB) | zip (11.06 KB)2017年5月21日发布说明简 | 繁 | 更多