function ModulesListConfirmForm::getQuestion

Same name in other branches
  1. 9 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()
  2. 8.9.x 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()
ModulesListNonStableConfirmForm::getQuestion in core/modules/system/src/Form/ModulesListNonStableConfirmForm.php
Returns the question to ask the user.

File

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

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 installed');
}

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