public function LanguageDeleteForm::getDescription in Drupal 8
Same name and namespace in other branches
- 9 core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDescription()
- 10 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\FormCode
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.');
}