SensorResultViewsController.php in Monitoring 7
Namespace
Drupal\monitoring\ControllerFile
lib/Drupal/monitoring/Controller/SensorResultViewsController.phpView source
<?php
/**
* @file
* Contains \Drupal\monitoring\Controller\SensorResultViewsController.
*/
namespace Drupal\monitoring\Controller;
/**
* Views controller for the monitoring_sensor_result entity.
*/
class SensorResultViewsController extends \EntityDefaultViewsController {
/**
* {@inheritdoc}
*/
public function views_data() {
$data = parent::views_data();
$data['monitoring_sensor_result']['sensor_name']['field']['handler'] = 'Drupal\\monitoring\\Views\\Handler\\Field\\SensorName';
return $data;
}
}
Classes
Name | Description |
---|---|
SensorResultViewsController | Views controller for the monitoring_sensor_result entity. |