class SensorResultViewsController in Monitoring 7
Views controller for the monitoring_sensor_result entity.
Hierarchy
- class \Drupal\monitoring\Controller\SensorResultViewsController extends \Drupal\monitoring\Controller\EntityDefaultViewsController
Expanded class hierarchy of SensorResultViewsController
File
- lib/
Drupal/ monitoring/ Controller/ SensorResultViewsController.php, line 12 - Contains \Drupal\monitoring\Controller\SensorResultViewsController.
Namespace
Drupal\monitoring\ControllerView source
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SensorResultViewsController:: |
public | function |