You are here

public property PasswordStrength::$strength_scores in Password Strength 8.2

File

src/Plugin/PasswordConstraint/PasswordStrength.php, line 24

Class

PasswordStrength
Enforces a specific character length for passwords.

Namespace

Drupal\password_strength\Plugin\PasswordConstraint

Code

public $strength_scores = [
  '0' => 'Very weak (0)',
  '1' => 'Weak (1)',
  '2' => 'Average (2)',
  '3' => 'Strong (3)',
  '4' => 'Very strong (4)',
];