Skip to content
Snippets Groups Projects
Commit 34d5ab8c authored by Marc Egger's avatar Marc Egger
Browse files

Twig: add access to Var store

parent 119691b5
No related branches found
No related tags found
2 merge requests!302Develop,!296Marc: Form/Report As File, Path class, Config class, Typo3 v9 compatability
Pipeline #3863 failed
......@@ -250,6 +250,7 @@ QFQ also provides access to the following stores via the template context.
* typo3
* user
* system
* var
All stores are accessed using their lower case name as attribute of the
context variable `store`. The active Typo3 front-end user is therefore available as::
......
......@@ -802,6 +802,7 @@ class Report {
'typo3' => $this->store->getStore(STORE_TYPO3),
'user' => $this->store->getStore(STORE_USER),
'system' => $this->store->getStore(STORE_SYSTEM),
'var' => $this->store->getStore(STORE_VAR),
)
));
return $contentTwig;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment