public function MultiversionManager::__construct in Multiversion 8
Same name and namespace in other branches
- 8.2 src/MultiversionManager.php \Drupal\multiversion\MultiversionManager::__construct()
Parameters
\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:
\Symfony\Component\Serializer\Serializer $serializer:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\Core\State\StateInterface $state:
\Drupal\Core\Language\LanguageManagerInterface $language_manager:
\Drupal\Core\Cache\CacheBackendInterface $cache:
\Drupal\Core\Database\Connection $connection:
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager:
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher:
File
- src/
MultiversionManager.php, line 99
Class
Namespace
Drupal\multiversionCode
public function __construct(WorkspaceManagerInterface $workspace_manager, Serializer $serializer, EntityTypeManagerInterface $entity_type_manager, StateInterface $state, LanguageManagerInterface $language_manager, CacheBackendInterface $cache, Connection $connection, EntityFieldManagerInterface $entity_field_manager, EventDispatcherInterface $event_dispatcher) {
$this->workspaceManager = $workspace_manager;
$this->serializer = $serializer;
$this->entityTypeManager = $entity_type_manager;
$this->state = $state;
$this->languageManager = $language_manager;
$this->cache = $cache;
$this->connection = $connection;
$this->entityFieldManager = $entity_field_manager;
$this->eventDispatcher = $event_dispatcher;
}