You are here

class SensorResultViewsController in Monitoring 7

Views controller for the monitoring_sensor_result entity.

Hierarchy

Expanded class hierarchy of SensorResultViewsController

File

lib/Drupal/monitoring/Controller/SensorResultViewsController.php, line 12
Contains \Drupal\monitoring\Controller\SensorResultViewsController.

Namespace

Drupal\monitoring\Controller
View 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