You are here

public function HostMultipleGreylistConfirm::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

File

src/Form/HostMultipleGreylistConfirm.php, line 118

Class

HostMultipleGreylistConfirm
Provides a multiple host grey-listing (and un-banning) confirmation form.

Namespace

Drupal\httpbl\Form

Code

public function getConfirmText() {
  return t('Grey-list');
}