protected function DeleteMultiple::getQuestion

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/node/lib/Drupal/node/Form/DeleteMultiple.php, line 76
Contains \Drupal\node\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\node\Form

Code

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