function StorageInterface::rename
Same name in other branches
- 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::rename()
- 8.9.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::rename()
- 10 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::rename()
Renames a configuration object in the storage.
Parameters
string $name: The name of a configuration object to rename.
string $new_name: The new name of a configuration object.
Return value
bool TRUE on success, FALSE otherwise.
13 methods override StorageInterface::rename()
- AllowListConfigStorage::rename in core/
lib/ Drupal/ Core/ Recipe/ AllowListConfigStorage.php - CachedStorage::rename in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php - CheckpointStorage::rename in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ CheckpointStorage.php - DatabaseStorage::rename in core/
lib/ Drupal/ Core/ Config/ DatabaseStorage.php - Implements Drupal\Core\Config\StorageInterface::rename().
- FileStorage::rename in core/
lib/ Drupal/ Core/ Config/ FileStorage.php
File
-
core/
lib/ Drupal/ Core/ Config/ StorageInterface.php, line 96
Class
- StorageInterface
- Defines an interface for configuration storage.
Namespace
Drupal\Core\ConfigCode
public function rename($name, $new_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.