You are here

public function MandrillAdminTestForm::getConfirmText in Mandrill 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/MandrillAdminTestForm.php, line 50

Class

MandrillAdminTestForm
Form controller for the Mandrill send test email form.

Namespace

Drupal\mandrill\Form

Code

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