LanguageDeleteForm::logDeletionMessage

public LanguageDeleteForm::logDeletionMessage()

Logs a message about the deleted entity.

Overrides EntityDeleteFormTrait::logDeletionMessage

File

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

Class

LanguageDeleteForm
Defines a confirmation form for deleting a language entity.

Namespace

Drupal\language\Form

Code

public function logDeletionMessage() {
  $this->logger('language')->notice('The %language (%langcode) language has been removed.', array('%language' => $this->entity->label(), '%langcode' => $this->entity->id()));
}
doc_Drupal
2016-10-29 09:22:21
Comments
Leave a Comment

Please login to continue.