You are here

public function MassPasswordResetConfirmForm::getCancelText in Mass Password Reset 8

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

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/MassPasswordResetConfirmForm.php, line 59

Class

MassPasswordResetConfirmForm
Mass Password Reset Form.

Namespace

Drupal\mass_pwreset\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}