Saves the configuration object.
Drupal\Core\Config\Config The configuration object.
public function save() {
// Validate the configuration object name before saving.
static::validateName($this->name);
if (!$this->isLoaded) {
$this
->load();
}
$this->storage
->write($this->name, $this->data);
$this->isNew = FALSE;
$this
->notify('save');
return $this;
}