You are here

public function BulkEditForm::getQuestion in Views Bulk Edit 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

src/Form/BulkEditForm.php, line 138

Class

BulkEditForm
The bulk edit form.

Namespace

Drupal\views_bulk_edit\Form

Code

public function getQuestion() {
  return $this
    ->formatPlural($this->count, 'Are you sure you want to edit this entity?', 'Are you sure you want to edit these entities?');
}