You are here

public function DeleteMultiple::getQuestion in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

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

modules/merci_line_item/src/Form/DeleteMultiple.php, line 72

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\merci_line_item\Form

Code

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