protected function MigrateHelper::createExecutable in Panopoly Core 8.2
Create a new migrate executable.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
Return value
\Drupal\migrate\MigrateExecutableInterface The migrate executable.
2 calls to MigrateHelper::createExecutable()
- MigrateHelper::import in src/
MigrateHelper.php - Imports the given migrations in order.
- MigrateHelper::rollback in src/
MigrateHelper.php - Rolls back the given migrations in reverse order.
File
- src/
MigrateHelper.php, line 61
Class
- MigrateHelper
- Service with some helper functions for working with migrate.
Namespace
Drupal\panopoly_coreCode
protected function createExecutable(MigrationInterface $migration) {
return new MigrateExecutable($migration, $this
->getMessageObject());
}