mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Merge pull request #5545 from mrgoldy/ticket/15538
[ticket/15538] Twig icon function
This commit is contained in:
@@ -29,6 +29,7 @@ imports:
|
||||
- { resource: services_text_formatter.yml }
|
||||
- { resource: services_text_reparser.yml }
|
||||
- { resource: services_twig.yml }
|
||||
- { resource: services_twig_extensions.yml }
|
||||
- { resource: services_ucp.yml }
|
||||
- { resource: services_user.yml }
|
||||
|
||||
|
@@ -0,0 +1,9 @@
|
||||
# Twig extensions not needed by the installer
|
||||
|
||||
services:
|
||||
template.twig.extensions.icon:
|
||||
class: phpbb\template\twig\extension\icon
|
||||
arguments:
|
||||
- '@user'
|
||||
tags:
|
||||
- { name: twig.extension }
|
Reference in New Issue
Block a user