public function Multigraph::getSensorsRaw in Monitoring 8
Returns the included sensors as stored in config.
Return value
array[] An associative array where keys are sensor IDs and values are associative arrays containing:
- weight
- label: custom sensor label for this multigraph
Overrides MultigraphInterface::getSensorsRaw
File
- modules/
multigraph/ src/ Entity/ Multigraph.php, line 114 - Contains \Drupal\monitoring_multigraph\Entity\Multigraph.
Class
- Multigraph
- Represents an aggregation of related sensors, called a multigraph.
Namespace
Drupal\monitoring_multigraph\EntityCode
public function getSensorsRaw() {
return $this->sensors;
}