function monitoring_views_pre_render in Monitoring 7
Implements hook_views_pre_render().
Alters the views page title.
File
- ./
monitoring.module, line 495 - Monitoring bootstrap file.
Code
function monitoring_views_pre_render(View &$view) {
if ($view->name == 'monitoring_sensor_results' && !empty($view->args)) {
$view->build_info['title'] = monitoring_sensor_action_title('log', monitoring_sensor_info_load($view->args[0]));
}
}