-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add create_attribute() #3
Comments
Hmm |
Ideally these issues will land some day: Meanwhile Data Transform Plugin has the required classes and is already a dependency of Pattern Lab Twig Standard Edition for Drupal, so maybe it could be added as a dependency here too. |
are there any news on this one? |
There's PR #8 but that won't work, needs to be a function |
just added a create_attribute function in #10 |
create_attribute()
is a new twig function in Drupal core 8.3.x https://www.drupal.org/node/2818293The
Attribute
class contains a lot of logic, i am not sure if we should copy it, trim it down or maybe adddrupal/core
as a composer dependency and use it directly?The text was updated successfully, but these errors were encountered: