public function KeyValueStoreInterface::setMultiple in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple()
Saves key/value pairs.
Parameters
array $data: An associative array of key/value pairs.
2 methods override KeyValueStoreInterface::setMultiple()
- NullStorageExpirable::setMultiple in core/
lib/ Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php - Saves key/value pairs.
- StorageBase::setMultiple in core/
lib/ Drupal/ Core/ KeyValueStore/ StorageBase.php - Saves key/value pairs.
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueStoreInterface.php, line 92
Class
- KeyValueStoreInterface
- Defines the interface for key/value store implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function setMultiple(array $data);