You are here

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

Class

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

Namespace

Drupal\httpbl\Form

Code

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