public function SensorResultViewsController::views_data in Monitoring 7
File
- lib/
Drupal/ monitoring/ Controller/ SensorResultViewsController.php, line 17 - Contains \Drupal\monitoring\Controller\SensorResultViewsController.
Class
- SensorResultViewsController
- Views controller for the monitoring_sensor_result entity.
Namespace
Drupal\monitoring\ControllerCode
public function views_data() {
$data = parent::views_data();
$data['monitoring_sensor_result']['sensor_name']['field']['handler'] = 'Drupal\\monitoring\\Views\\Handler\\Field\\SensorName';
return $data;
}