Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'plugin' view helper in twig template #122

Open
sarahman opened this issue Dec 24, 2016 · 1 comment
Open

The 'plugin' view helper in twig template #122

sarahman opened this issue Dec 24, 2016 · 1 comment

Comments

@sarahman
Copy link

Hello, there (specially @spiffyjr)!

When I want to use the plugin view helper of Zend framework in a particular twig view file, it says:
Unknown "plugin" function in "{particular-view-template}" at line {line-number}.
It occurs when I want to use the plugin view helper as {% set formLabel = plugin('formLabel') %}.

Now, please help me to understand how I can use this plugin view helper.
Thanks, in advance.

@kokspflanze
Copy link
Contributor

hi @sarahman

did you set the view_helper alias config?

like written in the doc https://zendframework.github.io/zend-view/helpers/advanced-usage/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants