public function MaillogClearConfirmForm::getConfirmText in Maillog / Mail Developer 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/ MaillogClearConfirmForm.php, line 46
Class
- MaillogClearConfirmForm
- Provides a form for clearing all the maillog entries.
Namespace
Drupal\maillog\FormCode
public function getConfirmText() {
return $this
->t('Clear');
}