public function ConfirmationForm::getCancelText in Auto Purge Users 8
Same name and namespace in other branches
- 8.3 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::getCancelText()
- 8.2 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::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/ ConfirmationForm.php, line 55
Class
- ConfirmationForm
- Class ConfirmationForm.
Namespace
Drupal\purge_users\FormCode
public function getCancelText() {
return $this
->t('Cancel');
}