mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15905] Create multiple twig extensions
PHPBB3-15905
This commit is contained in:
@@ -43,6 +43,25 @@ services:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
template.twig.extensions.auth:
|
||||
class: phpbb\template\twig\extension\auth
|
||||
arguments:
|
||||
- '@auth'
|
||||
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:
|
||||
@@ -50,6 +69,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
|
||||
|
||||
|
Reference in New Issue
Block a user