You are here

public function MultiversionStorageSchemaConverterFactory::__construct in Multiversion 8.2

MultiversionStorageSchemaConverterFactory constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entity_definition_update_manager:

\Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $last_installed_schema_repository:

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory:

\Drupal\Core\Database\Connection $database:

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager:

\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:

\Drupal\workspaces\WorkspaceManagerInterface $workspace_manager:

File

src/Entity/Storage/Sql/MultiversionStorageSchemaConverterFactory.php, line 76

Class

MultiversionStorageSchemaConverterFactory

Namespace

Drupal\multiversion\Entity\Storage\Sql

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityDefinitionUpdateManagerInterface $entity_definition_update_manager, EntityLastInstalledSchemaRepositoryInterface $last_installed_schema_repository, KeyValueFactoryInterface $key_value_factory, Connection $database, EntityFieldManagerInterface $entity_field_manager, MultiversionManagerInterface $multiversion_manager, WorkspaceManagerInterface $workspace_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityDefinitionUpdateManager = $entity_definition_update_manager;
  $this->lastInstalledSchemaRepository = $last_installed_schema_repository;
  $this->keyValueFactory = $key_value_factory;
  $this->database = $database;
  $this->entityFieldManager = $entity_field_manager;
  $this->multiversionManager = $multiversion_manager;
  $this->workspaceManager = $workspace_manager;
}