You are here

public function MigrationStorage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/MigrationStorage.php \Drupal\migrate\MigrationStorage::__construct()

Constructs a MigrationStorage object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type definition.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Component\Uuid\UuidInterface $uuid_service: The UUID service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Entity\Query\QueryFactoryInterface $query_factory: The entity query factory service.

Overrides ConfigEntityStorage::__construct

File

core/modules/migrate/src/MigrationStorage.php, line 45
Contains \Drupal\migrate\MigrationStorage.

Class

MigrationStorage
Storage for migration entities.

Namespace

Drupal\migrate

Code

public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, QueryFactoryInterface $query_factory) {
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager);
  $this->queryFactory = $query_factory;
}