You are here

public function KeyValueStoreInterface::setMultiple in Drupal 9

Same name and namespace in other branches
  1. 8 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 93

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function setMultiple(array $data);