DeleteForm::logDeletionMessage

public DeleteForm::logDeletionMessage()

Overrides ContentEntityDeleteForm::logDeletionMessage

File

core/modules/comment/src/Form/DeleteForm.php, line 44

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()));
}
doc_Drupal
2016-10-29 09:02:10
Comments
Leave a Comment

Please login to continue.