public static PasswordConfirm::validatePasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form)
Validates a password_confirm element.
File
core/lib/Drupal/Core/Render/Element/PasswordConfirm.php, line 97
Class
PasswordConfirm Provides a form element for double-input of passwords.
Namespace
Drupal\Core\Render\Element
Code
public static function validatePasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form) {
$pass1 = trim($elemen