Closed inghamn closed 6 years ago
There are places in drupal where a node is rendered not in it's normal "view" context. For instance, displaying a revision for a node...
Our blocks need to be careful about declaring the cache context to avoid tripping over Drupal bugs.
https://github.com/City-of-Bloomington/drupal-customizations/issues/27
We need to implement the ::getCacheContexts() function in order to prevent caching problems.
There are places in drupal where a node is rendered not in it's normal "view" context. For instance, displaying a revision for a node...
Our blocks need to be careful about declaring the cache context to avoid tripping over Drupal bugs.
https://github.com/City-of-Bloomington/drupal-customizations/issues/27