You are here

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

Class

PardotScoreDeleteForm
Class PardotScoreDeleteForm.

Namespace

Drupal\pardot\Form

Code

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