summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2015-03-23 14:57:21 +0000
committerNathaniel Catchpole2015-03-23 14:57:21 +0000
commit11f554993702b64202a2682af92f1a1b52113e97 (patch)
treeb01714610483eedeab2d76469b925912dc1da4d7 /core/modules/node/src/Entity/Node.php
parent8dbdbd76efb57e6f245ecfa744225e5ee856ab89 (diff)
Issue #2432837 by Wim Leers, Fabianx: Make cache contexts hierarchical (e.g. 'user' is more specific than 'user.roles')
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index eb99636..2621d82 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -45,7 +45,7 @@ use Drupal\user\UserInterface;
* revision_table = "node_revision",
* revision_data_table = "node_field_revision",
* translatable = TRUE,
- * list_cache_contexts = { "node_view_grants" },
+ * list_cache_contexts = { "user.node_grants:view" },
* entity_keys = {
* "id" = "nid",
* "revision" = "vid",