public function StoragePhp::save in Configuration Management 7.2
Saves the configuration object into the DataStore.
Overrides Storage::save
File
- lib/
Drupal/ configuration/ Storage/ StoragePhp.php, line 108 - Definition of Drupal\configuration\Storage\StoragePhp.
Class
Namespace
Drupal\configuration\StorageCode
public function save() {
if ($this
->checkFilePermissions($this->filename)) {
file_put_contents(ConfigurationManagement::getStream() . '/' . $this->filename, $this
->getDataToSave());
}
return $this;
}