You are here

public function LanguageDeleteForm::getDescription in Drupal 9

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

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

core/modules/language/src/Form/LanguageDeleteForm.php, line 17

Class

LanguageDeleteForm
Defines a confirmation form for deleting a language entity.

Namespace

Drupal\language\Form

Code

public function getDescription() {
  return $this
    ->t('Deleting a language will remove all interface translations associated with it, and content in this language will be set to be language neutral. This action cannot be undone.');
}