interface KeyValueFactoryInterface in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php \Drupal\Core\KeyValueStore\KeyValueFactoryInterface
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php \Drupal\Core\KeyValueStore\KeyValueFactoryInterface
Defines the key/value store factory interface.
Hierarchy
- interface \Drupal\Core\KeyValueStore\KeyValueFactoryInterface
Expanded class hierarchy of KeyValueFactoryInterface
All classes that implement KeyValueFactoryInterface
17 files declare their use of KeyValueFactoryInterface
- EntityFieldManager.php in core/
lib/ Drupal/ Core/ Entity/ EntityFieldManager.php - EntityLastInstalledSchemaRepository.php in core/
lib/ Drupal/ Core/ Entity/ EntityLastInstalledSchemaRepository.php - FieldDefinitionListener.php in core/
lib/ Drupal/ Core/ Field/ FieldDefinitionListener.php - FieldDefinitionListenerTest.php in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldDefinitionListenerTest.php - LocaleProjectStorage.php in core/
modules/ locale/ src/ LocaleProjectStorage.php
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueFactoryInterface.php, line 8
Namespace
Drupal\Core\KeyValueStoreView 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);
}