You are here

public function EntityIndex::__construct in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Index/EntityIndex.php \Drupal\multiversion\Entity\Index\EntityIndex::__construct()

Parameters

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory:

\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:

File

src/Entity/Index/EntityIndex.php, line 36

Class

EntityIndex

Namespace

Drupal\multiversion\Entity\Index

Code

public function __construct(KeyValueFactoryInterface $key_value_factory, WorkspaceManagerInterface $workspace_manager) {
  $this->keyValueFactory = $key_value_factory;
  $this->workspaceManager = $workspace_manager;
}