You are here

public function CampaignMonitorListDeleteForm::getConfirmText in Campaign Monitor 8

Same name and namespace in other branches
  1. 8.2 src/Form/CampaignMonitorListDeleteForm.php \Drupal\campaignmonitor\Form\CampaignMonitorListDeleteForm::getConfirmText()

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/CampaignMonitorListDeleteForm.php, line 53

Class

CampaignMonitorListDeleteForm
Defines a confirmation form for deleting mymodule data.

Namespace

Drupal\campaignmonitor\Form

Code

public function getConfirmText() {
  return t('Delete');
}