aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_twig.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/default/container/services_twig.yml')
-rw-r--r--phpBB/config/default/container/services_twig.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_twig.yml b/phpBB/config/default/container/services_twig.yml
index a9b5b6d4cd..6f70155295 100644
--- a/phpBB/config/default/container/services_twig.yml
+++ b/phpBB/config/default/container/services_twig.yml
@@ -38,10 +38,23 @@ services:
class: phpbb\template\twig\extension
arguments:
- '@template_context'
+ - '@template.twig.environment'
- '@language'
tags:
- { name: twig.extension }
+ template.twig.extensions.avatar:
+ class: phpbb\template\twig\extension\avatar
+ tags:
+ - { name: twig.extension }
+
+ template.twig.extensions.config:
+ class: phpbb\template\twig\extension\config
+ arguments:
+ - '@config'
+ tags:
+ - { name: twig.extension }
+
template.twig.extensions.routing:
class: phpbb\template\twig\extension\routing
arguments:
@@ -49,6 +62,11 @@ services:
tags:
- { name: twig.extension }
+ template.twig.extensions.username:
+ class: phpbb\template\twig\extension\username
+ tags:
+ - { name: twig.extension }
+
template.twig.extensions.debug:
class: Twig_Extension_Debug