function monitoring_drush_result_output_table in Monitoring 7
Same name and namespace in other branches
- 8 monitoring.drush.inc \monitoring_drush_result_output_table()
Outputs human readable table with results.
Parameters
\Drupal\monitoring\Result\SensorResultInterface[] $results: List of sensor result objects.
bool $show_exec_time: If TRUE the multi results view will display also execution time.
1 call to monitoring_drush_result_output_table()
- monitoring_drush_run in ./
monitoring.drush.inc - Drush callback to get sensor results.
File
- ./
monitoring.drush.inc, line 363 - Drush support for monitoring.
Code
function monitoring_drush_result_output_table(array $results, $show_exec_time = FALSE) {
if (count($results) == 1) {
monitoring_drush_result_output_table_single(reset($results));
}
else {
monitoring_drush_result_output_table_multiple($results, $show_exec_time);
}
}