protected function SequenceIndex::sortedSetStore in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/SequenceIndex.php \Drupal\multiversion\Entity\Index\SequenceIndex::sortedSetStore()
Parameters
$workspace_id:
Return value
\Drupal\key_value\KeyValueStore\KeyValueStoreSortedSetInterface
File
- src/
Entity/ Index/ SequenceIndex.php, line 94
Class
Namespace
Drupal\multiversion\Entity\IndexCode
protected function sortedSetStore($workspace_id = null) {
if (!$workspace_id) {
$workspace_id = $this->workspaceId ?: $this->workspaceManager
->getActiveWorkspaceId();
}
return $this->sortedSetFactory
->get($this->collectionPrefix . $workspace_id);
}