You are here

public function MassPasswordResetConfirmForm::getConfirmText in Mass Password Reset 8

Same name and namespace in other branches
  1. 2.x src/Form/MassPasswordResetConfirmForm.php \Drupal\mass_pwreset\Form\MassPasswordResetConfirmForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/MassPasswordResetConfirmForm.php, line 52

Class

MassPasswordResetConfirmForm
Mass Password Reset Form.

Namespace

Drupal\mass_pwreset\Form

Code

public function getConfirmText() {
  return $this
    ->t('Reset Passwords');
}