You are here

public function DeleteMultiple::getQuestion in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/DeleteMultiple.php \Drupal\bibcite_entity\Form\DeleteMultiple::getQuestion()

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/bibcite_entity/src/Form/DeleteMultiple.php, line 84

Class

DeleteMultiple
Delete multiple entities form.

Namespace

Drupal\bibcite_entity\Form

Code

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