You are here

public function SlideGroupDeleteForm::getQuestion in Drupal Slider 8

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

Function getQuestion.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/SlideGroupDeleteForm.php, line 17

Class

SlideGroupDeleteForm
Class SlideGroupDeleteForm.

Namespace

Drupal\drupal_slider\Form

Code

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