public function ModulesListExperimentalConfirmForm::getQuestion in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Form/ModulesListExperimentalConfirmForm.php \Drupal\system\Form\ModulesListExperimentalConfirmForm::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 ModulesListConfirmForm::getQuestion
File
- core/
modules/ system/ src/ Form/ ModulesListExperimentalConfirmForm.php, line 15
Class
- ModulesListExperimentalConfirmForm
- Builds a confirmation form for enabling experimental modules.
Namespace
Drupal\system\FormCode
public function getQuestion() {
return $this
->t('Are you sure you wish to enable experimental modules?');
}