user.theme.es6.js 450 B

123456789101112131415
  1. /**
  2. * @file
  3. * Stable theme overrides for user password forms.
  4. */
  5. (Drupal => {
  6. /**
  7. * Constucts a password confirm message element
  8. *
  9. * @return {string}
  10. * A string representing a DOM fragment.
  11. */
  12. Drupal.theme.passwordConfirmMessage = translate =>
  13. `<div aria-live="polite" aria-atomic="true" class="password-confirm js-password-confirm js-password-confirm-message">${translate.confirmTitle} <span></span></div>`;
  14. })(Drupal);