You are here

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\Form

Code

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