protected function PhotosImageDeleteForm::logDeletionMessage in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::logDeletionMessage()
Overrides ContentEntityDeleteForm::logDeletionMessage
File
- src/
Form/ PhotosImageDeleteForm.php, line 59
Class
- PhotosImageDeleteForm
- Defines a confirmation form for deleting images.
Namespace
Drupal\photos\FormCode
protected function logDeletionMessage() {
/** @var \Drupal\photos\PhotosImageInterface $entity */
$entity = $this
->getEntity();
$this
->logger('photos')
->notice('Deleted image %title.', [
'%title' => $entity
->label(),
]);
}