You are here

interface EntityIndexInterface in Multiversion 8

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

Hierarchy

Expanded class hierarchy of EntityIndexInterface

All classes that implement EntityIndexInterface

1 file declares its use of EntityIndexInterface
MultiversionIndexFactoryTest.php in tests/src/Kernel/MultiversionIndexFactoryTest.php

File

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

Namespace

Drupal\multiversion\Entity\Index
View source
interface EntityIndexInterface extends IndexInterface {

  /**
   * @param string $key
   *
   * @return array
   */
  public function get($key);

  /**
   * @param array $keys
   *
   * @return array
   */
  public function getMultiple(array $keys);

  /**
   * @param \Drupal\Core\Entity\EntityInterface $entity
   */
  public function add(EntityInterface $entity);

  /**
   * @param array $entities
   */
  public function addMultiple(array $entities);

}

Members