KeyValueStoreInterface::rename

public KeyValueStoreInterface::rename($key, $new_key)

Renames a key.

Parameters

string $key: The key to rename.

string $new_key: The new key name.

File

core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 102

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

1
public function rename($key, $new_key);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.