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