You are here

public function ModulesUninstallConfirmForm::getQuestion in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getQuestion()
  2. 10 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::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/ModulesUninstallConfirmForm.php, line 104

Class

ModulesUninstallConfirmForm
Builds a confirmation form to uninstall selected modules.

Namespace

Drupal\system\Form

Code

public function getQuestion() {
  return $this
    ->t('Confirm uninstall');
}