function drush_op in Migrate Tools 8.4
Same name and namespace in other branches
- 8.5 tests/src/Kernel/DrushTest.php \Drupal\Tests\migrate_tools\Kernel\drush_op()
Stub for drush_op.
Parameters
callable $callable: The function to call.
4 calls to drush_op()
- drush_migrate_tools_migrate_rollback in ./
migrate_tools.drush.inc - Rollback migrations.
- MigrateToolsCommands::executeMigration in src/
Commands/ MigrateToolsCommands.php - Executes a single migration.
- MigrateToolsCommands::rollback in src/
Commands/ MigrateToolsCommands.php - Rollback one or more migrations.
- _drush_migrate_tools_execute_migration in ./
migrate_tools.drush.inc - Executes a single migration.
File
- tests/
src/ Kernel/ DrushTest.php, line 298
Namespace
Drupal\Tests\migrate_tools\KernelCode
function drush_op(callable $callable) {
$args = func_get_args();
array_shift($args);
return call_user_func_array($callable, $args);
}