public function LanguageDeleteForm::logDeletionMessage in Drupal 8
Same name and namespace in other branches
- 9 core/modules/language/src/Form/LanguageDeleteForm.php \Drupal\language\Form\LanguageDeleteForm::logDeletionMessage()
Logs a message about the deleted entity.
Overrides EntityDeleteFormTrait::logDeletionMessage
File
- core/
modules/ language/ src/ Form/ LanguageDeleteForm.php, line 38
Class
- LanguageDeleteForm
- Defines a confirmation form for deleting a language entity.
Namespace
Drupal\language\FormCode
public function logDeletionMessage() {
$this
->logger('language')
->notice('The %language (%langcode) language has been removed.', [
'%language' => $this->entity
->label(),
'%langcode' => $this->entity
->id(),
]);
}