You are here

public function Storage::rename in Express 8

Renames a key.

Parameters

string $key: The key to rename.

string $new_key: The new key name.

Overrides MemoryStorage::rename

File

themes/contrib/bootstrap/src/Utility/Storage.php, line 181
Contains \Drupal\bootstrap\Utility\Storage.

Class

Storage
Theme Storage.

Namespace

Drupal\bootstrap\Utility

Code

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