function d8cache_comment_unpublish in Drupal 8 Cache Backport 7
Implements hook_comment_unpublish().
File
- includes/
comment.inc, line 32 - Comment functions and hooks for the D8 caching system backport.
Code
function d8cache_comment_unpublish($comment) {
drupal_invalidate_cache_tags(array(
'node:' . $comment->nid,
));
}