Implements Drupal\Core\Config\StorageInterface::rename().
Overrides StorageInterface::rename
public function rename($name, $new_name) {
$status = @rename($this
->getFilePath($name), $this
->getFilePath($new_name));
if ($status === FALSE) {
throw new StorageException('Failed to rename configuration file from: ' . $this
->getFilePath($name) . ' to: ' . $this
->getFilePath($new_name));
}
return TRUE;
}