public function SettingsActions::setSettings in Simplifying 8
Set simplifying settings.
File
- src/
Services/ SettingsActions.php, line 52
Class
- SettingsActions
- Class SettingsActions.
Namespace
Drupal\simplifying\ServicesCode
public function setSettings($file, $data = []) {
$this->configfactory
->getEditable('simplifying.settings')
->set($file, serialize($data))
->save();
}