You are here

public function AdvbanDelete::getConfirmText in Advanced ban 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/AdvbanDelete.php, line 75

Class

AdvbanDelete
Provides a form to unban IP addresses.

Namespace

Drupal\advban\Form

Code

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