You are here

public function PardotCampaignDeleteForm::getConfirmText in Pardot Integration 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

src/Form/PardotCampaignDeleteForm.php, line 41

Class

PardotCampaignDeleteForm
Class PardotCampaignDeleteForm.

Namespace

Drupal\pardot\Form

Code

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