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

How to declare add_attributes in Drupal #4

Open
EddyInsite opened this issue Oct 5, 2018 · 1 comment
Open

How to declare add_attributes in Drupal #4

EddyInsite opened this issue Oct 5, 2018 · 1 comment

Comments

@EddyInsite
Copy link

Hi guys,

I tried to use your function in my PatternLab and it works properly. I've pasted the file in _twig_components/functions/

Now I'm trying to connect my patterns in Drupal Templates and I have that kind of error message :
Unknown add_attributes function in Twig_ExpressionParser-"getFunctionNodeClass()</em>

What did I forget ?

@evanmwillhite
Copy link

Is Unified Twig Extensions enabled?

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