You are here

interface KeyValueFactoryInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php \Drupal\Core\KeyValueStore\KeyValueFactoryInterface

Defines the key/value store factory interface.

Hierarchy

Expanded class hierarchy of KeyValueFactoryInterface

All classes that implement KeyValueFactoryInterface

13 files declare their use of KeyValueFactoryInterface
EntityFieldManager.php in core/lib/Drupal/Core/Entity/EntityFieldManager.php
Contains \Drupal\Core\Entity\EntityFieldManager.
EntityFieldManagerTest.php in core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
EntityLastInstalledSchemaRepository.php in core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php
Contains \Drupal\Core\Entity\EntityLastInstalledSchemaRepository.
FieldDefinitionListener.php in core/lib/Drupal/Core/Field/FieldDefinitionListener.php
Contains \Drupal\Core\Field\FieldDefinitionListener.
FieldDefinitionListenerTest.php in core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php
Contains \Drupal\Tests\Core\Field\FieldDefinitionListenerTest.

... See full list

File

core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php, line 13
Contains \Drupal\Core\KeyValueStore\KeyValueFactoryInterface.

Namespace

Drupal\Core\KeyValueStore
View source
interface KeyValueFactoryInterface {

  /**
   * Constructs a new key/value store for a given collection name.
   *
   * @param string $collection
   *   The name of the collection holding key and value pairs.
   *
   * @return \Drupal\Core\KeyValueStore\KeyValueStoreInterface
   *   A key/value store implementation for the given $collection.
   */
  public function get($collection);

}

Members

Namesort descending Modifiers Type Description Overrides
KeyValueFactoryInterface::get public function Constructs a new key/value store for a given collection name. 3