public function DeleteForm::logDeletionMessage in Drupal 8
Same name and namespace in other branches
- 9 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::logDeletionMessage()
Overrides ContentEntityDeleteForm::logDeletionMessage
File
- core/
modules/ comment/ src/ Form/ DeleteForm.php, line 46
Class
- DeleteForm
- Provides the comment delete confirmation form.
Namespace
Drupal\comment\FormCode
public function logDeletionMessage() {
$this
->logger('comment')
->notice('Deleted comment @cid and its replies.', [
'@cid' => $this->entity
->id(),
]);
}