public function UpdateHelper::disableListening in Evercurrent 8.2
Same name and namespace in other branches
- 8 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 215
Class
- UpdateHelper
- Default UpdateHelper instantiation.
Namespace
Drupal\evercurrentCode
public function disableListening() {
$config = $this->configFactory
->getEditable('evercurrent.admin_config');
$config
->set('listen', FALSE);
$config
->save();
}