public function UpdateHelper::disableListening in Evercurrent 8
Same name and namespace in other branches
- 8.2 src/UpdateHelper.php \Drupal\evercurrent\UpdateHelper::disableListening()
Disable listening mode.
1 call to UpdateHelper::disableListening()
- UpdateHelper::sendUpdates in src/
UpdateHelper.php - Send updates to the Maintenance server.
File
- src/
UpdateHelper.php, line 197 - Contains Drupal\evercurrent\UpdateHelper.
Class
- UpdateHelper
- Class UpdateHelper.
Namespace
Drupal\evercurrentCode
public function disableListening() {
$config = $this->config_factory
->getEditable('evercurrent.admin_config');
$config
->set('listen', FALSE);
$config
->save();
}