You are here

public function SensorResultDataInterface::getMessage in Monitoring 8

Gets sensor status message.

Must not be called on an uncompiled result.

Return value

string Sensor status message.

2 methods override SensorResultDataInterface::getMessage()
SensorResult::getMessage in src/Result/SensorResult.php
Gets sensor status message.
SensorResultEntity::getMessage in src/Entity/SensorResultEntity.php
Gets sensor status message.

File

src/Entity/SensorResultDataInterface.php, line 78

Class

SensorResultDataInterface
Interface for sensor data.

Namespace

Drupal\monitoring\Entity

Code

public function getMessage();