You are here

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

Class

HostMultipleDeleteConfirm
Provides a multiple host deletion confirmation form.

Namespace

Drupal\httpbl\Form

Code

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