You are here

public function StorageItem::set in Express 8

Saves a value for a given key.

Parameters

string $key: The key of the data to store.

mixed $value: The data to store.

Overrides MemoryStorage::set

File

themes/contrib/bootstrap/src/Utility/StorageItem.php, line 131
Contains \Drupal\bootstrap\Utility\StorageItem.

Class

StorageItem
Theme Storage Item.

Namespace

Drupal\bootstrap\Utility

Code

public function set($key, $value) {
  parent::set($key, $value);
  $this
    ->changed();
}