You are here

public function PresentationDeleteForm::getQuestion in Isotope (with Masonry and Packery) 8

Gathers a confirmation question.

Return value

string Translated string.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/PresentationDeleteForm.php, line 35
Contains Drupal\isotope\Form\PresentationDeleteForm.

Class

PresentationDeleteForm
Class PresentationDeleteForm.

Namespace

Drupal\isotope\Form

Code

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