You are here

public function SendOriginalForm::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/SendOriginalForm.php, line 51

Class

SendOriginalForm
Class SendOriginalForm.

Namespace

Drupal\mail_safety\Form

Code

public function getConfirmText() {
  return $this
    ->t('Send original mail');
}