You are here

public function ModulesListConfirmForm::getQuestion in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getQuestion()

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

core/modules/system/src/Form/ModulesListConfirmForm.php, line 83
Contains \Drupal\system\Form\ModulesListConfirmForm.

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