You are here

public function ModulesListConfirmForm::getDescription in Drupal 9

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

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

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

Class

ModulesListConfirmForm
Builds a confirmation form for enabling modules with dependencies.

Namespace

Drupal\system\Form

Code

public function getDescription() {
  return $this
    ->t('Would you like to continue with the above?');
}