You are here

public function AdminUninstallForm::getDescription in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Form/AdminUninstallForm.php \Drupal\private_message\Form\AdminUninstallForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/Form/AdminUninstallForm.php, line 66

Class

AdminUninstallForm
Defines the admin uninstall form for the Private Message module.

Namespace

Drupal\private_message\Form

Code

public function getDescription() {
  return $this
    ->t('The private message module cannot be uninstalled if there is private message content in the database. Clicking the button below will delete all private message content from the system, allowing the module to be uninstalled.') . '<br><strong>' . $this
    ->t('THIS ACTION CANNOT BE REVERSED') . '</strong>';
}