protected function RevisionIndex::buildKey in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/RevisionIndex.php \Drupal\multiversion\Entity\Index\RevisionIndex::buildKey()
Helper method for building the key to be indexed.
Parameters
\Drupal\Core\Entity\EntityInterface $entity:
Return value
string
Overrides EntityIndex::buildKey
File
- src/
Entity/ Index/ RevisionIndex.php, line 17
Class
Namespace
Drupal\multiversion\Entity\IndexCode
protected function buildKey(EntityInterface $entity) {
return $entity
->uuid() . ':' . $entity->_rev->value;
}