You are here

public function SecKitSettingsForm::__construct in Security Kit 8

Same name and namespace in other branches
  1. 2.x src/Form/SecKitSettingsForm.php \Drupal\seckit\Form\SecKitSettingsForm::__construct()

Constructs a SecKitSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

Overrides ConfigFormBase::__construct

File

src/Form/SecKitSettingsForm.php, line 43

Class

SecKitSettingsForm
Implements a form to collect security check configuration.

Namespace

Drupal\seckit\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PathValidatorInterface $path_validator, RendererInterface $renderer) {
  parent::__construct($config_factory);
  $this->pathValidator = $path_validator;
  $this->renderer = $renderer;
}