diff --git a/core/modules/comment/src/Form/DeleteForm.php b/core/modules/comment/src/Form/DeleteForm.php index 4e995bb..c754bfe 100644 --- a/core/modules/comment/src/Form/DeleteForm.php +++ b/core/modules/comment/src/Form/DeleteForm.php @@ -40,9 +40,7 @@ protected function getDeletionMessage() { /** * {@inheritdoc} */ - public function submitForm(array &$form, FormStateInterface $form_state) { - parent::submitForm($form, $form_state); - + public function logDeletionMessage() { $this->logger('content')->notice('Deleted comment @cid and its replies.', array('@cid' => $this->entity->id())); }