You are here

abstract protected function ValueComparisonSensorPluginBase::getValueDescription in Monitoring 8

Gets the value description that will be shown in the settings form.

Return value

string Value description.

1 call to ValueComparisonSensorPluginBase::getValueDescription()
ValueComparisonSensorPluginBase::buildConfigurationForm in src/SensorPlugin/ValueComparisonSensorPluginBase.php
Adds expected value setting field into the sensor settings form.
2 methods override ValueComparisonSensorPluginBase::getValueDescription()
ConfigValueSensorPlugin::getValueDescription in src/Plugin/monitoring/SensorPlugin/ConfigValueSensorPlugin.php
Gets the value description that will be shown in the settings form.
StateValueSensorPlugin::getValueDescription in src/Plugin/monitoring/SensorPlugin/StateValueSensorPlugin.php
Gets the value description that will be shown in the settings form.

File

src/SensorPlugin/ValueComparisonSensorPluginBase.php, line 28
Contains \Drupal\monitoring\SensorPlugin\ValueComparisonSensorPluginBase

Class

ValueComparisonSensorPluginBase
Provides abstract functionality for a value comparison sensor.

Namespace

Drupal\monitoring\SensorPlugin

Code

protected abstract function getValueDescription();