public function ForceRunController::forceRunAll in Monitoring 8
Force runs all sensors.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse
1 string reference to 'ForceRunController::forceRunAll'
File
- src/
Controller/ ForceRunController.php, line 55
Class
Namespace
Drupal\monitoring\ControllerCode
public function forceRunAll() {
$this->sensorRunner
->resetCache();
$this
->messenger()
->addMessage($this
->t('Force run of all cached sensors executed.'));
return $this
->redirect('monitoring.sensor_list');
}