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.
File
- drupal/core/lib/Drupal/Core/Config/StorageInterface.php, line 76
- Definition of Drupal\Core\Config\StorageInterface.
Class
- StorageInterface
- Defines an interface for configuration storage controllers.
Namespace
Drupal\Core\Config
Code
public function rename($name, $new_name);