You are here

protected function LanguageDeleteForm::getDeletionMessage 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::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 34
Contains \Drupal\language\Form\LanguageDeleteForm.

Class

LanguageDeleteForm
Defines a confirmation form for deleting a language entity.

Namespace

Drupal\language\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('The %language (%langcode) language has been removed.', array(
    '%language' => $this->entity
      ->label(),
    '%langcode' => $this->entity
      ->id(),
  ));
}