public function SensorList::__construct in Monitoring 8
Constructs a \Drupal\monitoring\Form\SensorDetailForm object.
Parameters
\Drupal\monitoring\SensorRunner $sensor_runner: The factory for configuration objects.
\Drupal\monitoring\Sensor\SensorManager $sensor_manager: The sensor manager service.
File
- src/
Controller/ SensorList.php, line 36
Class
Namespace
Drupal\monitoring\ControllerCode
public function __construct(SensorRunner $sensor_runner, SensorManager $sensor_manager) {
$this->sensorRunner = $sensor_runner;
$this->sensorManager = $sensor_manager;
}