public function RequirementsIgnore::__construct in Monitoring 8
Constructs a \Drupal\monitoring\Form\SensorSettingsForm object.
Parameters
\Drupal\monitoring\SensorRunner $sensor_runner: The sensor runner service.
\Drupal\monitoring\Sensor\SensorManager $sensor_manager: The sensor manager service.
File
- src/
Controller/ RequirementsIgnore.php, line 39 - Contains \Drupal\monitoring\Controller\RequirementsIgnore.
Class
Namespace
Drupal\monitoring\ControllerCode
public function __construct(SensorRunner $sensor_runner, SensorManager $sensor_manager) {
$this->sensorManager = $sensor_manager;
$this->sensorRunner = $sensor_runner;
}