wearewondrous / fractal-twig-drupal-adapter

Twig template adapter for Fractal with Drupal 8 directives.
http://fractal.build
MIT License
13 stars 13 forks source link

Implement create_attribute() function #11

Open luksak opened 5 years ago

luksak commented 5 years ago

We should provide a way to use the create_attribute() function and provide an shim to a Attribute object of Drupal.

luksak commented 5 years ago

Ohhh... Look what I found: https://github.com/ericmorand/drupal-attribute This should be fairly easy to implement. I'll try later today.

luksak commented 5 years ago

Basic support is working: #13

yobottehg commented 5 years ago

thanks @luksak we'll have a look

luksak commented 5 years ago

13 adds very basic supprt. We should create a few issues against drupal-attribute. for example passing an argument to create_attribute() doesn't work currently.