added user to cache context of entity json ajax from edlp_ajax module

This commit is contained in:
2018-11-26 15:37:36 +01:00
parent 88c72878f4
commit 9d75870f04
@@ -240,7 +240,8 @@ class EdlpAjaxController extends ControllerBase {
// $this->entity_type.':'.$this->id // not necessary as we add $renderable as CacheableMetadata to the response // $this->entity_type.':'.$this->id // not necessary as we add $renderable as CacheableMetadata to the response
], ],
'contexts' => [ 'contexts' => [
'languages:language_content' 'languages:language_content',
'user'
] ]
]; ];