1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/17153] Use twig and avatar helper to render avatars

PHPBB3-17153
This commit is contained in:
Marc Alexander
2023-07-01 09:47:37 +02:00
parent 32e6c637ec
commit 902283c368
5 changed files with 109 additions and 32 deletions

View File

@@ -45,6 +45,8 @@ services:
template.twig.extensions.avatar:
class: phpbb\template\twig\extension\avatar
arguments:
- '@avatar.helper'
tags:
- { name: twig.extension }