public function ContentConfirmForm::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 ConfirmFormInterface::getQuestion
1 method overrides ContentConfirmForm::getQuestion()
- ContentUpdateConfirmForm::getQuestion in gathercontent_ui/
src/ Form/ ContentUpdateConfirmForm.php - Returns the question to ask the user.
File
- gathercontent_ui/
src/ Form/ ContentConfirmForm.php, line 89
Class
- ContentConfirmForm
- Provides a node deletion confirmation form.
Namespace
Drupal\gathercontent_ui\FormCode
public function getQuestion() {
return $this
->formatPlural(count($this->nodeIds), 'Confirm selection (@count item)', 'Confirm selection (@count items)');
}