abstract protected function ValueComparisonSensorPluginBase::getValue in Monitoring 8
Gets the current value.
Return value
mixed The current value.
2 calls to ValueComparisonSensorPluginBase::getValue()
- ValueComparisonSensorPluginBase::getValueText in src/
SensorPlugin/ ValueComparisonSensorPluginBase.php - Gets the current value as text.
- ValueComparisonSensorPluginBase::runSensor in src/
SensorPlugin/ ValueComparisonSensorPluginBase.php - Runs the sensor, updating $sensor_result.
2 methods override ValueComparisonSensorPluginBase::getValue()
- ConfigValueSensorPlugin::getValue in src/
Plugin/ monitoring/ SensorPlugin/ ConfigValueSensorPlugin.php - Gets the current value.
- StateValueSensorPlugin::getValue in src/
Plugin/ monitoring/ SensorPlugin/ StateValueSensorPlugin.php - Gets the current value.
File
- src/
SensorPlugin/ ValueComparisonSensorPluginBase.php, line 36 - Contains \Drupal\monitoring\SensorPlugin\ValueComparisonSensorPluginBase
Class
- ValueComparisonSensorPluginBase
- Provides abstract functionality for a value comparison sensor.
Namespace
Drupal\monitoring\SensorPluginCode
protected abstract function getValue();