You are here

public function SensorConfig::getLabel in Monitoring 8

Gets sensor label.

The sensor label might not be self-explaining enough or unique without the category, the category should always be present when the label is displayed.

Return value

string Sensor label.

Overrides SensorConfigInterface::getLabel

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

File

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

Class

SensorConfig
Represents a sensor config entity class.

Namespace

Drupal\monitoring\Entity

Code

public function getLabel() {
  return $this->label;
}