You are here

public function DeleteMultiple::getQuestion in Support Ticketing System 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

modules/support_ticket/src/Form/DeleteMultiple.php, line 77
Contains \Drupal\support_ticket\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a support ticket deletion confirmation form.

Namespace

Drupal\support_ticket\Form

Code

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