class RevisionIndex in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/RevisionIndex.php \Drupal\multiversion\Entity\Index\RevisionIndex
Hierarchy
- class \Drupal\multiversion\Entity\Index\EntityIndex implements EntityIndexInterface
- class \Drupal\multiversion\Entity\Index\RevisionIndex implements RevisionIndexInterface
Expanded class hierarchy of RevisionIndex
1 string reference to 'RevisionIndex'
1 service uses RevisionIndex
File
- src/
Entity/ Index/ RevisionIndex.php, line 7
Namespace
Drupal\multiversion\Entity\IndexView source
class RevisionIndex extends EntityIndex implements RevisionIndexInterface {
/**
* @var string
*/
protected $collectionPrefix = 'multiversion.entity_index.rev.';
/**
* {@inheritdoc}
*/
protected function buildKey(EntityInterface $entity) {
return $entity
->uuid() . ':' . $entity->_rev->value;
}
}