You are here

public function Thresholds::getStatusMessage in Monitoring 7

Same name and namespace in other branches
  1. 8 src/Sensor/Thresholds.php \Drupal\monitoring\Sensor\Thresholds::getStatusMessage()

Gets status message based on the status and threshold type.

Return value

string Status message

File

lib/Drupal/monitoring/Sensor/Thresholds.php, line 74
Contains \Drupal\monitoring\Sensor\Thresholds.

Class

Thresholds
Determine status based on thresholds during sensor run.

Namespace

Drupal\monitoring\Sensor

Code

public function getStatusMessage() {
  return $this->message;
}