You are here

public function HostMultipleUnbanConfirm::getQuestion in http:BL 8

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/HostMultipleUnbanConfirm.php, line 105

Class

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

Namespace

Drupal\httpbl\Form

Code

public function getQuestion() {
  return $this
    ->formatPlural(count($this->hostInfo), 'Are you sure you want to un-ban this blacklisted host?', 'Are you sure you want to un-ban these blacklisted hosts?');
}