You are here

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

Class

PardotContactFormMapDeleteForm
Class PardotContactFormMapDeleteForm.

Namespace

Drupal\pardot\Form

Code

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