function LanguageDeleteForm::getDescription

Same name in other branches
  1. 8.9.x core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDescription()
  2. 10 core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDescription()
  3. 11.x core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDescription()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.