Skip to content

Commit

Permalink
Remove visibility change on global helper core service override. (#175)
Browse files Browse the repository at this point in the history
* Remove visibility change on global helper core service override.

* Set required visibility to be able use service as a Twig global.
  • Loading branch information
xserna authored and andrerom committed Dec 17, 2019
1 parent cffdc24 commit d266caa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundle/Resources/config/templating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ services:
# Overriding core helper
ezpublish.templating.global_helper:
alias: ezpublish.templating.global_helper.legacy
public: false
# Needs to be public to use the service as a Twig global variable
public: true

templating.engine.eztpl:
class: eZ\Publish\Core\MVC\Legacy\Templating\LegacyEngine
Expand Down

0 comments on commit d266caa

Please sign in to comment.