function hook_monitoring_run_sensors in Monitoring 8
Allows processing the result on each sensor run.
Parameters
\Drupal\monitoring\Result\SensorResultInterface[] $results: The sensor results.
1 function implements hook_monitoring_run_sensors()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- monitoring_mail_monitoring_run_sensors in modules/
monitoring_mail/ monitoring_mail.module - Implements hook_monitoring_run_sensors().
1 invocation of hook_monitoring_run_sensors()
- SensorRunner::runSensors in src/
SensorRunner.php - Runs the defined sensors.
File
- ./
monitoring.api.php, line 28 - Monitoring API documentation.
Code
function hook_monitoring_run_sensors(array $results) {
}