You are here

public function SensorConfig::getThresholds in Monitoring 8

Gets thresholds.

Return value

array Thresholds as an array.

Overrides SensorConfigInterface::getThresholds

1 call to SensorConfig::getThresholds()
SensorConfig::getDefinition in src/Entity/SensorConfig.php
Compiles sensor values to an associative array.

File

src/Entity/SensorConfig.php, line 263
Contains \Drupal\monitoring\Entity\SensorConfig.

Class

SensorConfig
Represents a sensor config entity class.

Namespace

Drupal\monitoring\Entity

Code

public function getThresholds() {
  return $this->thresholds;
}