You are here

public function ContentUpdateConfirmForm::getQuestion in GatherContent 8.4

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 ContentConfirmForm::getQuestion

File

gathercontent_ui/src/Form/ContentUpdateConfirmForm.php, line 27

Class

ContentUpdateConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent_ui\Form

Code

public function getQuestion() {
  return $this
    ->formatPlural(count($this->nodeIds), 'Confirm update selection (@count item)', 'Confirm update selection (@count items)');
}