You are here

public function AutobanDeleteForm::getQuestion in Automatic IP ban (Autoban) 8

Gathers a confirmation question.

Return value

string Translated string.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/AutobanDeleteForm.php, line 24

Class

AutobanDeleteForm
Class AutobanDeleteForm.

Namespace

Drupal\autoban\Form

Code

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