You are here

function drush_op in Migrate Tools 8.5

Same name and namespace in other branches
  1. 8.4 tests/src/Kernel/DrushTest.php \Drupal\Tests\migrate_tools\Kernel\drush_op()

Stub for drush_op.

Parameters

callable $callable: The function to call.

2 calls to drush_op()
MigrateToolsCommands::executeMigration in src/Commands/MigrateToolsCommands.php
Executes a single migration.
MigrateToolsCommands::rollback in src/Commands/MigrateToolsCommands.php
Rollback one or more migrations.

File

tests/src/Kernel/DrushTest.php, line 298

Namespace

Drupal\Tests\migrate_tools\Kernel

Code

function drush_op(callable $callable) {
  $args = func_get_args();
  array_shift($args);
  return call_user_func_array($callable, $args);
}