You are here

protected function MultiversionManager::createMigration in Multiversion 8

Factory method for a new Multiversion migration.

Return value

\Drupal\multiversion\MultiversionMigrationInterface

2 calls to MultiversionManager::createMigration()
MultiversionManager::disableEntityTypes in src/MultiversionManager.php
MultiversionManager::enableEntityTypes in src/MultiversionManager.php
@todo Ensure nothing breaks if the migration is run twice.

File

src/MultiversionManager.php, line 507

Class

MultiversionManager

Namespace

Drupal\multiversion

Code

protected function createMigration() {
  return MultiversionMigration::create($this->container, $this->entityTypeManager, $this->entityFieldManager);
}