You are here

function d8cache_comment_delete in Drupal 8 Cache Backport 7

Implements hook_comment_delete().

File

includes/comment.inc, line 18
Comment functions and hooks for the D8 caching system backport.

Code

function d8cache_comment_delete($comment) {
  drupal_invalidate_cache_tags(array(
    'node:' . $comment->nid,
  ));
}