protected function EntityIndex::keyValueStore in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/EntityIndex.php \Drupal\multiversion\Entity\Index\EntityIndex::keyValueStore()
Parameters
int $workspace_id:
Return value
\Drupal\Core\KeyValueStore\KeyValueStoreInterface
File
- src/
Entity/ Index/ EntityIndex.php, line 108
Class
Namespace
Drupal\multiversion\Entity\IndexCode
protected function keyValueStore($workspace_id = 0) {
return $this->keyValueFactory
->get($this->collectionPrefix . $workspace_id);
}