You are here

protected function UuidIndex::buildKey in Multiversion 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Index/UuidIndex.php \Drupal\multiversion\Entity\Index\UuidIndex::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/UuidIndex.php, line 17

Class

UuidIndex

Namespace

Drupal\multiversion\Entity\Index

Code

protected function buildKey(EntityInterface $entity) {
  return $entity
    ->uuid();
}