function migrate_devel_drush_help_alter in Migrate Devel 8
Same name and namespace in other branches
- 8.2 migrate_devel.drush.inc \migrate_devel_drush_help_alter()
Implements hook_drush_help_alter().
File
- ./
migrate_devel.drush.inc, line 16 - File for Drush Integration.
Code
function migrate_devel_drush_help_alter(&$command) {
if ($command['command'] === 'migrate-import') {
$command['options']['migrate-debug'] = 'Enable Debug Mode';
$command['options']['migrate-debug-pre'] = 'Enable Debug Mode (Before Row Save)';
}
if ($command['command'] === 'migrate-status') {
$command['options']['migrate-debug'] = 'Enable Debug Mode';
}
}