You are here

public function PrepareModulesEntityUninstallForm::getDescription in Drupal 9

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

Class

PrepareModulesEntityUninstallForm
Provides a form removing module content entities data before uninstallation.

Namespace

Drupal\system\Form

Code

public function getDescription() {
  return $this
    ->t('This action cannot be undone.<br />Make a backup of your database if you want to be able to restore these items.');
}