You are here

public function MultiversionStorageSchemaConverterFactory::getStorageSchemaConverter in Multiversion 8.2

Returns an MultiversionStorageSchemaConverter object.

Parameters

$entity_type_id:

Return value

\Drupal\multiversion\Entity\Storage\Sql\MultiversionStorageSchemaConverter

Overrides MultiversionStorageSchemaConverterFactoryInterface::getStorageSchemaConverter

File

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

Class

MultiversionStorageSchemaConverterFactory

Namespace

Drupal\multiversion\Entity\Storage\Sql

Code

public function getStorageSchemaConverter($entity_type_id) {
  return new MultiversionStorageSchemaConverter($entity_type_id, $this->entityTypeManager, $this->entityDefinitionUpdateManager, $this->lastInstalledSchemaRepository, $this->keyValueFactory
    ->get('entity.storage_schema.sql'), $this->database, $this->entityFieldManager, $this->multiversionManager, $this->workspaceManager);
}