You are here

protected function Thresholds::none in Monitoring 8

Returns the sensor status ok for the default threshold type None.

Return value

string The sensor status.

File

src/Sensor/Thresholds.php, line 174
Contains \Drupal\monitoring\Sensor\Thresholds.

Class

Thresholds
Determine status based on thresholds during sensor run.

Namespace

Drupal\monitoring\Sensor

Code

protected function none() {
  return SensorResultInterface::STATUS_OK;
}