- Issue created by @nuez
- @nuez opened merge request.
- Status changed to Needs review
almost 3 years ago 8:06am 26 January 2023
Views caches the results and applies cache tags from the SQL query, not from the entity query that was used.
in Drupal\views\Plugin\views\query::getCacheTags only the cache tags belonging to the entities of each row are applied.
This means that entity queries that apply cache tags to the entity query conditions are not invalidated properly in views.
In ViewsQueryAlter somehow pass the Cacheable Meta data to the views executable object, and then pick it up in a Views Cache plugin shipped with this module that extends Tag.php
Needs work
1.0
Views integration