You are here

public function SensorConfig::getCachingTime in Monitoring 8

Gets sensor caching time.

Return value

int Caching time in seconds.

Overrides SensorConfigInterface::getCachingTime

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

File

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

Class

SensorConfig
Represents a sensor config entity class.

Namespace

Drupal\monitoring\Entity

Code

public function getCachingTime() {
  return $this->caching_time;
}