You are here

public function PasswordPolicyConstraintForm::__construct in Password Policy 8.3

Overridden constructor to load the plugin.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $manager: Plugin manager for constraints.

\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder.

File

src/Form/PasswordPolicyConstraintForm.php, line 59

Class

PasswordPolicyConstraintForm
Form that lists out the constraints for the policy.

Namespace

Drupal\password_policy\Form

Code

public function __construct(PluginManagerInterface $manager, FormBuilderInterface $formBuilder) {
  $this->manager = $manager;
  $this->formBuilder = $formBuilder;
}