You are here

class LogintobogganPasswordLength in LoginToboggan 8

Checks if a name is being used as another account's email.

Plugin annotation


@Constraint(
  id = "LogintobogganPasswordLength",
  label = @Translation("Check password meets min length setting", context = "Validation")
)

Hierarchy

Expanded class hierarchy of LogintobogganPasswordLength

1 string reference to 'LogintobogganPasswordLength'
logintoboggan_entity_base_field_info_alter in ./logintoboggan.module
Implements hook_entity_bundle_field_info_alter().

File

src/Plugin/Validation/Constraint/LogintobogganPasswordLength.php, line 15

Namespace

Drupal\logintoboggan\Plugin\Validation\Constraint
View source
class LogintobogganPasswordLength extends Constraint {

  /**
   * Violation message.
   *
   * @var string
   */
  public $message = 'This password does not meet the required length of %length characters.';

}

Members