- Status changed to Needs work
8 months ago 9:22pm 19 April 2024
public function getCacheContexts() {
$contexts = [];
// By definition arguments depends on the URL.
// @todo Once contexts are properly injected into block views we could pull
// the information from there.
$contexts[] = 'url';
Currently, adding an argument to a view makes the view cacheable per url even if the argument value depends only on a single query argument value.
Needs work
11.0 🔥
Last updated
Related to the Views in Drupal Core initiative.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.