You are here

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

Gather the confirmation text.

Return value

string Translated string.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/AutobanDeleteForm.php, line 36

Class

AutobanDeleteForm
Class AutobanDeleteForm.

Namespace

Drupal\autoban\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete rule');
}