You are here

public function SensorResultInterface::setStatus in Monitoring 8

Same name and namespace in other branches
  1. 7 lib/Drupal/monitoring/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 src/Result/SensorResult.php
Sets sensor status.

File

src/Result/SensorResultInterface.php, line 70
Contains \Drupal\monitoring\Result\SensorResultInterface.

Class

SensorResultInterface
Interface for a sensor result.

Namespace

Drupal\monitoring\Result

Code

public function setStatus($status);