You are here

public function DeleteForm::logDeletionMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Form/DeleteForm.php \Drupal\comment\Form\DeleteForm::logDeletionMessage()

Overrides ContentEntityDeleteForm::logDeletionMessage

File

core/modules/comment/src/Form/DeleteForm.php, line 49
Contains \Drupal\comment\Form\DeleteForm.

Class

DeleteForm
Provides the comment delete confirmation form.

Namespace

Drupal\comment\Form

Code

public function logDeletionMessage() {
  $this
    ->logger('content')
    ->notice('Deleted comment @cid and its replies.', array(
    '@cid' => $this->entity
      ->id(),
  ));
}