You are here

public function KeyValueStoreInterface::setMultiple in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 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);