You are here

public function TemplateDeleteForm::getQuestion in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/Form/TemplateDeleteForm.php \Drupal\workbench_email\Form\TemplateDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/TemplateDeleteForm.php, line 42

Class

TemplateDeleteForm
Builds the form to delete Email Template entities.

Namespace

Drupal\workbench_email\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete %name?', [
    '%name' => $this->entity
      ->label(),
  ]);
}