public function ModulesListConfirmForm::getQuestion in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()
- 9 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::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.
Overrides ConfirmFormInterface::getQuestion
File
- core/
modules/ system/ src/ Form/ ModulesListConfirmForm.php, line 82
Class
- ModulesListConfirmForm
- Builds a confirmation form for enabling modules with dependencies.
Namespace
Drupal\system\FormCode
public function getQuestion() {
return $this
->t('Some required modules must be enabled');
}