You are here

public function MaestroTemplateDeleteForm::getQuestion in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/MaestroTemplateDeleteForm.php \Drupal\maestro\Form\MaestroTemplateDeleteForm::getQuestion()

Gathers a confirmation question.

Return value

string Translated string.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/MaestroTemplateDeleteForm.php, line 51

Class

MaestroTemplateDeleteForm
Class MaestroTemplateDeleteForm.

Namespace

Drupal\maestro\Form

Code

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