protected function MigrationController::execute in Workbench Moderation to Content Moderation 8.2
Executes a single migration.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration to execute.
File
- src/
MigrationController.php, line 88
Class
Namespace
Drupal\wbm2cmCode
protected function execute(MigrationInterface $migration) {
$executable = new MigrateExecutable($migration, new MigrateMessage(), $this->eventDispatcher);
$executable
->import();
}