You are here

public function StorageItem::delete in Express 8

Deletes an item from the key/value store.

Parameters

string $key: The item name to delete.

Overrides MemoryStorage::delete

File

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

Class

StorageItem
Theme Storage Item.

Namespace

Drupal\bootstrap\Utility

Code

public function delete($key) {
  parent::delete($key);
  $this
    ->changed();
}