function ConfirmFormInterface::getQuestion
Same name in other branches
- 9 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getQuestion()
- 8.9.x core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getQuestion()
- 10 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getQuestion()
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.
3 calls to ConfirmFormInterface::getQuestion()
- ConfirmFormBase::buildForm in core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php - ContentEntityConfirmFormBase::buildForm in core/
lib/ Drupal/ Core/ Entity/ ContentEntityConfirmFormBase.php - EntityConfirmFormBase::buildForm in core/
lib/ Drupal/ Core/ Entity/ EntityConfirmFormBase.php
43 methods override ConfirmFormInterface::getQuestion()
- BanDelete::getQuestion in core/
modules/ ban/ src/ Form/ BanDelete.php - Returns the question to ask the user.
- BookRemoveForm::getQuestion in core/
modules/ book/ src/ Form/ BookRemoveForm.php - Returns the question to ask the user.
- BreakLockForm::getQuestion in core/
modules/ views_ui/ src/ Form/ BreakLockForm.php - Returns the question to ask the user.
- ConfigSingleImportForm::getQuestion in core/
modules/ config/ src/ Form/ ConfigSingleImportForm.php - Returns the question to ask the user.
- ConfigTranslationDeleteForm::getQuestion in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Returns the question to ask the user.
File
-
core/
lib/ Drupal/ Core/ Form/ ConfirmFormInterface.php, line 16
Class
- ConfirmFormInterface
- Defines the behavior a confirmation form.
Namespace
Drupal\Core\FormCode
public function getQuestion();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.