You are here

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

Class

HostMultipleRefreshConfirm
Provides a multiple host expiry refresh confirmation form.

Namespace

Drupal\httpbl\Form

Code

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