protected function SensorRunner::getSensorCid in Monitoring 8
Same name and namespace in other branches
- 7 lib/Drupal/monitoring/SensorRunner.php \Drupal\monitoring\SensorRunner::getSensorCid()
Gets sensor cache id.
Parameters
string $sensor_name:
Return value
string Cache id.
3 calls to SensorRunner::getSensorCid()
- SensorRunner::cacheResults in src/
SensorRunner.php - Cache results if caching applies.
- SensorRunner::loadCache in src/
SensorRunner.php - Loads available sensor results from cache.
- SensorRunner::resetCache in src/
SensorRunner.php - Reset sensor result caches.
File
- src/
SensorRunner.php, line 326 - Contains \Drupal\monitoring\SensorRunner.
Class
- SensorRunner
- Instantiate and run requested sensors.
Namespace
Drupal\monitoringCode
protected function getSensorCid($sensor_name) {
return 'monitoring_sensor_result:' . $sensor_name;
}