function LanguageDeleteForm::getDeletionMessage
Same name in other branches
- 9 core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDeletionMessage()
- 10 core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDeletionMessage()
- 11.x core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::getDeletionMessage()
Overrides EntityDeleteFormTrait::getDeletionMessage
File
-
core/
modules/ language/ src/ Form/ LanguageDeleteForm.php, line 31
Class
- LanguageDeleteForm
- Defines a confirmation form for deleting a language entity.
Namespace
Drupal\language\FormCode
protected function getDeletionMessage() {
return $this->t('The %language (%langcode) language has been removed.', [
'%language' => $this->entity
->label(),
'%langcode' => $this->entity
->id(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.