public function PasswordPolicyRolesForm::__construct in Password Policy 8.3
Overridden constructor to load the storage.
Parameters
\Drupal\user\RoleStorageInterface $storage: Role storage.
File
- src/
Form/ PasswordPolicyRolesForm.php, line 38
Class
- PasswordPolicyRolesForm
- The form to select roles that are associated to the policy.
Namespace
Drupal\password_policy\FormCode
public function __construct(RoleStorageInterface $storage) {
$this->storage = $storage;
}