public function SensorConfig::getCategory in Monitoring 8
Gets sensor categories.
Return value
string Categories.
Overrides SensorConfigInterface::getCategory
1 call to SensorConfig::getCategory()
- SensorConfig::getDefinition in src/
Entity/ SensorConfig.php - Compiles sensor values to an associative array.
File
- src/
Entity/ SensorConfig.php, line 181 - Contains \Drupal\monitoring\Entity\SensorConfig.
Class
- SensorConfig
- Represents a sensor config entity class.
Namespace
Drupal\monitoring\EntityCode
public function getCategory() {
return $this->category;
}