You are here

public function HostMultipleBanConfirm::getConfirmText in http:BL 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

1 call to HostMultipleBanConfirm::getConfirmText()
HostMultipleBanConfirm::buildForm in src/Form/HostMultipleBanConfirm.php
Form constructor.

File

src/Form/HostMultipleBanConfirm.php, line 130

Class

HostMultipleBanConfirm
Provides a multiple host blacklisting and banning confirmation form.

Namespace

Drupal\httpbl\Form

Code

public function getConfirmText() {
  global $blacklistConfirmText;
  return $blacklistConfirmText;
}