You are here

public function LdapProtectedUserFieldConstraintValidator::setLoginValidator in Lightweight Directory Access Protocol (LDAP) 8.4

Set the login validator.

Parameters

\Drupal\ldap_authentication\Controller\LoginValidatorLoginForm $loginValidator: Login validator.

File

ldap_user/src/Plugin/Validation/Constraint/LdapProtectedUserFieldConstraintValidator.php, line 31

Class

LdapProtectedUserFieldConstraintValidator
Validates the LdapProtectedUserFieldConstraint constraint.

Namespace

Drupal\ldap_user\Plugin\Validation\Constraint

Code

public function setLoginValidator(LoginValidatorLoginForm $loginValidator) : void {
  $this->loginValidator = $loginValidator;
}