You are here

class UuidIndex in Multiversion 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Index/UuidIndex.php \Drupal\multiversion\Entity\Index\UuidIndex

Hierarchy

Expanded class hierarchy of UuidIndex

1 string reference to 'UuidIndex'
multiversion.services.yml in ./multiversion.services.yml
multiversion.services.yml
1 service uses UuidIndex
multiversion.entity_index.uuid in ./multiversion.services.yml
Drupal\multiversion\Entity\Index\UuidIndex

File

src/Entity/Index/UuidIndex.php, line 7

Namespace

Drupal\multiversion\Entity\Index
View source
class UuidIndex extends EntityIndex implements UuidIndexInterface {

  /**
   * @var string
   */
  protected $collectionPrefix = 'multiversion.entity_index.uuid.';

  /**
   * {@inheritdoc}
   */
  protected function buildKey(EntityInterface $entity) {
    return $entity
      ->uuid();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EntityIndex::$keyValueFactory protected property
EntityIndex::$workspaceId protected property
EntityIndex::$workspaceManager protected property
EntityIndex::add public function Overrides EntityIndexInterface::add
EntityIndex::addMultiple public function Overrides EntityIndexInterface::addMultiple
EntityIndex::buildValue protected function Helper method for building the value to be indexed.
EntityIndex::get public function Overrides EntityIndexInterface::get
EntityIndex::getMultiple public function Overrides EntityIndexInterface::getMultiple
EntityIndex::getWorkspaceId protected function Helper method for getting what workspace ID to query.
EntityIndex::keyValueStore protected function
EntityIndex::useWorkspace public function Overrides IndexInterface::useWorkspace
EntityIndex::__construct public function
UuidIndex::$collectionPrefix protected property Overrides EntityIndex::$collectionPrefix
UuidIndex::buildKey protected function Helper method for building the key to be indexed. Overrides EntityIndex::buildKey