RevisionIndex.php in Multiversion 8
Same filename and directory in other branches
Namespace
Drupal\multiversion\Entity\IndexFile
src/Entity/Index/RevisionIndex.phpView source
<?php
namespace Drupal\multiversion\Entity\Index;
use Drupal\Core\Entity\EntityInterface;
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;
}
}
Classes
Name | Description |
---|---|
RevisionIndex |