public function SourceStorage::rename in Configuration installer 8
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/
Storage/ SourceStorage.php, line 91
Class
- SourceStorage
- Wraps the sync storage so the config_installer can make modifications.
Namespace
Drupal\config_installer\StorageCode
public function rename($name, $new_name) {
return $this->baseStorage
->rename($name, $new_name);
}