You are here

public function Thresholds::getStatusMessage in Monitoring 8

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

Gets status message based on the status and threshold type.

Return value

string Status message

File

src/Sensor/Thresholds.php, line 76
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;
}