public function MultiversionStorageSchemaConverter::__construct in Multiversion 8.2
ContentEntityStorageSchemaConverter constructor.
Parameters
$entity_type_id:
\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\KeyValueStoreInterface $installed_storage_schema:
\Drupal\Core\Database\Connection $database:
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager:
\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:
\Drupal\workspaces\WorkspaceManagerInterface $workspace_manager:
Overrides SqlContentEntityStorageSchemaConverter::__construct
File
- src/
Entity/ Storage/ Sql/ MultiversionStorageSchemaConverter.php, line 56
Class
Namespace
Drupal\multiversion\Entity\Storage\SqlCode
public function __construct($entity_type_id, EntityTypeManagerInterface $entity_type_manager, EntityDefinitionUpdateManagerInterface $entity_definition_update_manager, EntityLastInstalledSchemaRepositoryInterface $last_installed_schema_repository, KeyValueStoreInterface $installed_storage_schema, Connection $database, EntityFieldManagerInterface $entity_field_manager, MultiversionManagerInterface $multiversion_manager, WorkspaceManagerInterface $workspace_manager) {
parent::__construct($entity_type_id, $entity_type_manager, $entity_definition_update_manager, $last_installed_schema_repository, $installed_storage_schema, $database);
$this->entityFieldManager = $entity_field_manager;
$this->multiversionManager = $multiversion_manager;
$this->workspaceManager = $workspace_manager;
$this->random = new Random();
}