You are here

public function LanguageDeleteForm::getDescription in Zircon Profile 8

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

Returns additional text to display as a description.

Return value

string The form description.

Overrides EntityConfirmFormBase::getDescription

File

core/modules/language/src/Form/LanguageDeleteForm.php, line 20
Contains \Drupal\language\Form\LanguageDeleteForm.

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