You are here

public function ContentUpdateConfirmForm::getQuestion in GatherContent 8.3

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

src/Form/ContentUpdateConfirmForm.php, line 25

Class

ContentUpdateConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

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