Use MvcTranslator to inject view helpers #4870

Merged
merged 1 commit into from Jul 22, 2013

Projects

None yet

3 participants

Owner

When we released 2.2.0, we neglected to update the HelperPluginManager to prefer the MvcTranslator service over the Translator service when injecting helpers that are translator-aware. This PR adds logic to do so.

@weierophinney weierophinney Use MvcTranslator, when available, to inject helpers
- Use the MvcTranslator service, when available, to inject view helpers.
36b20ff
@weierophinney weierophinney referenced this pull request Jul 22, 2013
@weierophinney weierophinney Rename service to "MvcTranslator"
- Removes conflict with ZendSkeletonApplication, which defines a "translator"
  service already.
8ac24fb
@ezimuel ezimuel was assigned Jul 22, 2013
@ezimuel ezimuel merged commit 36b20ff into zendframework:master Jul 22, 2013

1 check passed

default The Travis CI build passed
Details
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment