summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2015-03-13 00:00:40 +0000
committerAlex Pott2015-03-13 00:00:40 +0000
commita87aff8640156c2b2d6b3750004e5d51444132ed (patch)
tree84ab68135cdc363e8cd5f960bd3d90e567b984a2 /core/modules/node/src/Entity/Node.php
parent8f5fa6aa10ecd4c4061fa64d16228252f39fd168 (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",