public function LoggerService::destruct in Purge 8.3
Performs destruct operations.
Overrides DestructableInterface::destruct
File
- src/
Logger/ LoggerService.php, line 101
Class
- LoggerService
- Provides logging services to purge and its submodules, via a single channel.
Namespace
Drupal\purge\LoggerCode
public function destruct() {
if ($this->write) {
$this->configFactory
->getEditable(self::CONFIG)
->set(self::CKEY, $this->config)
->save();
$this->write = FALSE;
}
}