You are here

public function SlideDeleteForm::getQuestion in Drupal Slider 8

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

Function getQuestion.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/SlideDeleteForm.php, line 19

Class

SlideDeleteForm
Class SlideDeleteForm.

Namespace

Drupal\drupal_slider\Form

Code

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