You are here

public function PrepareModulesEntityUninstallForm::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 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 72

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