You are here

public function PardotContactFormMapDeleteForm::getDescription in Pardot Integration 8

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides EntityConfirmFormBase::getDescription

File

src/Form/PardotContactFormMapDeleteForm.php, line 32

Class

PardotContactFormMapDeleteForm
Class PardotContactFormMapDeleteForm.

Namespace

Drupal\pardot\Form

Code

public function getDescription() {
  return $this
    ->t('Are you sure you want to delete Pardot Contact Form Mapping %label? This action cannot be undone.', array(
    '%label' => $this->entity
      ->label(),
  ));
}