You are here

public function SensorRunner::forceRun in Monitoring 7

Forces to run sensors even there is cached data available.

Parameters

bool $force:

File

lib/Drupal/monitoring/SensorRunner.php, line 87
Contains \Drupal\monitoring\SensorRunner.

Class

SensorRunner
Instantiate and run requested sensors.

Namespace

Drupal\monitoring

Code

public function forceRun($force = TRUE) {
  $this->forceRun = $force;
}