protected function BanDelete::getConfirmText

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

drupal/core/modules/ban/lib/Drupal/ban/Form/BanDelete.php, line 63
Contains \Drupal\ban\Form\BanDelete.

Class

BanDelete
Provides a form to unban IP addresses.

Namespace

Drupal\ban\Form

Code

protected function getConfirmText() {
  return t('Delete');
}