File
- drupal/core/lib/Drupal/Core/Config/Config.php, line 365
- Definition of Drupal\Core\Config\Config.
Class
- Config
- Defines the default configuration object.
Namespace
Drupal\Core\Config
Code
public function rename($new_name) {
if ($this->storage
->rename($this->name, $new_name)) {
$this->name = $new_name;
}
return $this;
}