You are here

public function HostMultipleWhitelistConfirm::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/HostMultipleWhitelistConfirm.php, line 118

Class

HostMultipleWhitelistConfirm
Provides a multiple host white-listing (and un-banning) confirmation form.

Namespace

Drupal\httpbl\Form

Code

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