You are here

function hook_monitoring_sensor_links_alter in Monitoring 7

Same name and namespace in other branches
  1. 8 monitoring.api.php \hook_monitoring_sensor_links_alter()

Allows to alter sensor links on the sensor overview page.

Parameters

array $links: Links to be altered.

\Drupal\monitoring\Sensor\SensorInfo $sensor_info: Sensor info object of a sensor for which links are being altered.

See also

monitoring_reports_sensors_overview()

1 invocation of hook_monitoring_sensor_links_alter()
monitoring_reports_sensors_overview in ./monitoring.admin.inc
Page callback to output list of sensors.

File

./monitoring.api.php, line 101
Monitoring API documentation.

Code

function hook_monitoring_sensor_links_alter(&$links, \Drupal\monitoring\Sensor\SensorInfo $sensor_info) {
}