function monitoring_drush_rebuild in Monitoring 8
Drush callback to rebuild the sensor list.
1 string reference to 'monitoring_drush_rebuild'
- monitoring_drush_command in ./
monitoring.drush.inc - Implements hook_drush_command().
File
- ./
monitoring.drush.inc, line 465 - Drush support for monitoring.
Code
function monitoring_drush_rebuild() {
\Drupal::service('monitoring.sensor_manager')
->rebuildSensors();
}