You are here

public function MandrillTemplateMapDeleteForm::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 EntityConfirmFormBase::getConfirmText

File

modules/mandrill_template/src/Form/MandrillTemplateMapDeleteForm.php, line 38
Contains \Drupal\mandrill_template\Form\MandrillTemplateMapDeleteForm.

Class

MandrillTemplateMapDeleteForm
Form controller for the MandrillTemplateMap entity delete form.

Namespace

Drupal\mandrill_template\Form

Code

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