function DeleteForm::logDeletionMessage
Same name in other branches
- 9 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::logDeletionMessage()
- 8.9.x core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::logDeletionMessage()
- 11.x 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')
->info('Deleted comment @cid and its replies.', [
'@cid' => $this->entity
->id(),
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.