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