You are here

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

Class

HostMultipleUnbanConfirm
Provides a multiple host un-ban blacklisted confirmation form.

Namespace

Drupal\httpbl\Form

Code

public function getConfirmText() {
  return t('Un-ban');
}