You are here

public function KeyValueStoreInterface::setMultiple in Service Container 7.2

Same name and namespace in other branches
  1. 7 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 lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple().
StorageBase::setMultiple in lib/Drupal/Core/KeyValueStore/StorageBase.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple().

File

lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 97
Contains \Drupal\Core\KeyValueStore\KeyValueStoreInterface.

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function setMultiple(array $data);