public function SamlauthConfigureForm::__construct in SAML Authentication 4.x
Same name and namespace in other branches
- 8.3 src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::__construct()
- 8.2 src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::__construct()
Constructs a \Drupal\samlauth\Form\SamlauthConfigureForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The EntityTypeManager service.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The PathValidator service.
\Drupal\Core\Utility\Token $token: The token service.
\Drupal\key\KeyRepositoryInterface|null $key_repository: The token service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SamlauthConfigureForm.php, line 71
Class
- SamlauthConfigureForm
- Provides a configuration form for samlauth module settings and IdP/SP info.
Namespace
Drupal\samlauth\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, PathValidatorInterface $path_validator, Token $token, $key_repository) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->pathValidator = $path_validator;
$this->token = $token;
$this->keyRepository = $key_repository;
}