LanguageDeleteForm::getDeletionMessage

protected LanguageDeleteForm::getDeletionMessage()

Gets the message to display to the user after deleting the entity.

Return value

string The translated string of the deletion message.

Overrides EntityDeleteFormTrait::getDeletionMessage

File

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

Class

LanguageDeleteForm
Defines a confirmation form for deleting a language entity.

Namespace

Drupal\language\Form

Code

1
2
3
protected function getDeletionMessage() {
  return $this->t('The %language (%langcode) language has been removed.', array('%language' => $this->entity->label(), '%langcode' => $this->entity->id()));
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.