diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-11-27 00:46:36 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-17 16:39:54 -0500 |
commit | d6c881d0c67de80f0b60eab6be0c1dda33296657 (patch) | |
tree | a4eb34acd0fcd8be8bbc8d00d16dc6043ad59ff1 /phpBB/config | |
parent | ed548ae8ff0e87035c0c173d40212a96fa642135 (diff) | |
download | forums-d6c881d0c67de80f0b60eab6be0c1dda33296657.tar forums-d6c881d0c67de80f0b60eab6be0c1dda33296657.tar.gz forums-d6c881d0c67de80f0b60eab6be0c1dda33296657.tar.bz2 forums-d6c881d0c67de80f0b60eab6be0c1dda33296657.tar.xz forums-d6c881d0c67de80f0b60eab6be0c1dda33296657.zip |
[feature/template-events] Inject extension manager into template class.
Template class passes extension manager to template compiler.
Template compiler passes extension manager to template filter.
Template filter will use extension manager to locate hooks
as it is compiling templates.
All extension manager arguments are optional. If an extension
manager is not given, template hooks will not be invoked.
PHPBB3-9550
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/services.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml index 20aa0546d5..83a1c1fa69 100644 --- a/phpBB/config/services.yml +++ b/phpBB/config/services.yml @@ -128,6 +128,7 @@ services: - @user - @style.resource_locator - @template_context + - @ext.manager template_context: class: phpbb_template_context |