summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2015-03-13 09:05:00 +0000
committerAlex Pott2015-03-13 09:05:00 +0000
commit0fe1e7daffdc0e9bd100c9aa9efe4900266dc218 (patch)
tree9e1f7256cf84e7624a41ce285bbab0fece24894c /core/modules/node/src/Entity/Node.php
parent6dfbcdd0ce4ed33c9172e97b64ab2e293610997d (diff)
Issue #2445743 by dawehner, Wim Leers: Allow views base tables and entity types to define additional cache contexts
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 6e33d27..fa0950e 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -45,6 +45,7 @@ use Drupal\user\UserInterface;
* revision_table = "node_revision",
* revision_data_table = "node_field_revision",
* translatable = TRUE,
+ * list_cache_contexts = { "node_view_grants" },
* entity_keys = {
* "id" = "nid",
* "revision" = "vid",