You are here

public function PasswordConstraintBase::validateConfigurationForm in Password Policy 8.3

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::validateConfigurationForm

6 methods override PasswordConstraintBase::validateConfigurationForm()
CharacterTypes::validateConfigurationForm in password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php
Form validation handler.
ConsecutiveCharacters::validateConfigurationForm in password_policy_consecutive/src/Plugin/PasswordConstraint/ConsecutiveCharacters.php
Form validation handler.
PasswordCharacter::validateConfigurationForm in password_policy_characters/src/Plugin/PasswordConstraint/PasswordCharacter.php
Form validation handler.
PasswordHistory::validateConfigurationForm in password_policy_history/src/Plugin/PasswordConstraint/PasswordHistory.php
Form validation handler.
PasswordLength::validateConfigurationForm in password_policy_length/src/Plugin/PasswordConstraint/PasswordLength.php
Form validation handler.

... See full list

File

src/PasswordConstraintBase.php, line 48

Class

PasswordConstraintBase
A base class to define standard operations of a password constraint.

Namespace

Drupal\password_policy

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}