mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/15538] Extract service and enhance icon function
PHPBB3-15538
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 }
|
||||
|
||||
|
@@ -54,13 +54,6 @@ services:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
template.twig.extensions.icon:
|
||||
class: phpbb\template\twig\extension\icon
|
||||
arguments:
|
||||
- '@user'
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
template.twig.extensions.routing:
|
||||
class: phpbb\template\twig\extension\routing
|
||||
arguments:
|
||||
|
@@ -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