You are here

public function SensorResultInterface::setStatus in Monitoring 7

Same name and namespace in other branches
  1. 8 src/Result/SensorResultInterface.php \Drupal\monitoring\Result\SensorResultInterface::setStatus()

Sets sensor status.

Parameters

string $status: One of SensorResultInterface::STATUS_* constants.

1 method overrides SensorResultInterface::setStatus()
SensorResult::setStatus in lib/Drupal/monitoring/Result/SensorResult.php
Sets sensor status.

File

lib/Drupal/monitoring/Result/SensorResultInterface.php, line 75
Contains \Drupal\monitoring\Result\SensorResultInterface.

Class

SensorResultInterface
Interface for a sensor result.

Namespace

Drupal\monitoring\Result

Code

public function setStatus($status);