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

[Twig] Add goto for global variables defined in YAML #904

Open
King2500 opened this issue Mar 26, 2017 · 1 comment
Open

[Twig] Add goto for global variables defined in YAML #904

King2500 opened this issue Mar 26, 2017 · 1 comment

Comments

@King2500
Copy link
Contributor

King2500 commented Mar 26, 2017

config.yml:

twig:
    globals:
        my_var: 'Hello World'

Problem:
Goto (Ctrl+Click) in Twig templates is not working:

{{ my_var }}
@COil
Copy link

COil commented May 15, 2017

Do not know if it can be done, as my_var may be created by any Twig extension, not only in this twig parameter section.

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

3 participants