function MemoryStorage::setMultiple
Same name in other branches
- 8.9.x core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php \Drupal\Core\KeyValueStore\MemoryStorage::setMultiple()
- 10 core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php \Drupal\Core\KeyValueStore\MemoryStorage::setMultiple()
- 11.x core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php \Drupal\Core\KeyValueStore\MemoryStorage::setMultiple()
Overrides StorageBase::setMultiple
File
-
core/
lib/ Drupal/ Core/ KeyValueStore/ MemoryStorage.php, line 66
Class
- MemoryStorage
- Defines a default key/value store implementation.
Namespace
Drupal\Core\KeyValueStoreCode
public function setMultiple(array $data) {
$this->data = $data + $this->data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.