You are here

public static function MultiversionMigration::create in Multiversion 8

Factory method.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager:

Return value

\Drupal\multiversion\MultiversionMigrationInterface

Overrides MultiversionMigrationInterface::create

2 calls to MultiversionMigration::create()
MultiversionManager::createMigration in src/MultiversionManager.php
Factory method for a new Multiversion migration.
multiversion_update_8004 in ./multiversion.install
Update user entity type to non-multiversionable.

File

src/MultiversionMigration.php, line 41

Class

MultiversionMigration

Namespace

Drupal\multiversion

Code

public static function create(ContainerInterface $container, EntityTypeManagerInterface $entity_type_manager) {
  return new static($container
    ->get('module_handler'), $container
    ->get('module_installer'), $container
    ->get('database'));
}