public function SplitCollectionStorage::rename in Configuration Split 2.0.x
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.
Overrides StorageInterface::rename
File
- src/
Config/ SplitCollectionStorage.php, line 92
Class
- SplitCollectionStorage
- A config storage that lives in a collection of another config storage.
Namespace
Drupal\config_split\ConfigCode
public function rename($name, $new_name) {
return $this
->getStorage()
->rename($name, $new_name);
}