function panels_content_cache_comment_clear_cache in Panels Content Cache 7
Clear the cache bin for this comment's content type.
5 calls to panels_content_cache_comment_clear_cache()
- panels_content_cache_comment_delete in ./
panels_content_cache.module - Implements hook_comment_delete().
- panels_content_cache_comment_insert in ./
panels_content_cache.module - Implements hook_comment_insert().
- panels_content_cache_comment_publish in ./
panels_content_cache.module - Implements hook_comment_publish().
- panels_content_cache_comment_unpublish in ./
panels_content_cache.module - Implements hook_comment_unpublish().
- panels_content_cache_comment_update in ./
panels_content_cache.module - Implements hook_comment_update().
File
- ./
panels_content_cache.module, line 100 - Primary hook implementations.
Code
function panels_content_cache_comment_clear_cache($comment) {
if (!empty($comment->nid) && ($node = node_load($comment->nid))) {
panels_content_cache_node_clear_cache($node);
}
}