You are here

function hook_monitoring_sensor_links_alter in Monitoring 8

Same name and namespace in other branches
  1. 7 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\Entity\SensorConfig $sensor_config: Sensor config object of a sensor for which links are being altered.

See also

\Drupal\monitoring\Controller\SensorList::content()

1 invocation of hook_monitoring_sensor_links_alter()
SensorList::content in src/Controller/SensorList.php

File

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

Code

function hook_monitoring_sensor_links_alter(&$links, \Drupal\monitoring\Entity\SensorConfig $sensor_config) {
}