This triggers all node update functions when a new comment is added for that node. Because we only store per-View setting, we cannot easily check this when hook_comment_*() is called. We can probably setup a global setting to toggle this behavior, but I'm not sure a logical place to put this solitary setting.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

erikwebb’s picture

Status: Active » Needs review
FileSize
1.75 KB

Status: Needs review » Needs work

The last submitted patch, views_content_cache-trigger_node_updates_comment-1807994-1.patch, failed testing.

erikwebb’s picture

If this is a direction that we want to go, I'll update the tests accordingly.

erikwebb’s picture

I've wrapped this behavior inside of a off-by-default variable until we figure out a decent place to put this.

erikwebb’s picture

Status: Needs work » Needs review
DamienMcKenna’s picture