function ModulesListConfirmForm::getQuestion

Same name and namespace in other branches
  1. 9 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()
  2. 10 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()
  3. 11.x core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()

Overrides ConfirmFormInterface::getQuestion

1 method overrides ModulesListConfirmForm::getQuestion()
ModulesListExperimentalConfirmForm::getQuestion in core/modules/system/src/Form/ModulesListExperimentalConfirmForm.php
Returns the question to ask the user.

File

core/modules/system/src/Form/ModulesListConfirmForm.php, line 80

Class

ModulesListConfirmForm
Builds a confirmation form for enabling modules with dependencies.

Namespace

Drupal\system\Form

Code

public function getQuestion() {
    return $this->t('Some required modules must be enabled');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.