public function ClearForm::getConfirmText in Mail Safety 8
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/ ClearForm.php, line 41
Class
- ClearForm
- Class ClearForm.
Namespace
Drupal\mail_safety\FormCode
public function getConfirmText() {
return $this
->t('Clear mail');
}