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

Create a decoupled Drupal Twig Extension #1

Open
aleksip opened this Issue May 5, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@aleksip
Member

aleksip commented May 5, 2016

Now that patternengine-php-twig provides a way to register proper Twig Extensions (hooray!) we should probably concentrate on creating a Drupal Twig Extension.

The extension should be decoupled from both Drupal and Pattern Lab and usable with all kinds of decoupled Twig/Drupal projects. Maybe something that could be used as a part of the stand-alone implementation discussed in https://www.drupal.org/node/2702061

Not sure what would be the best home for this extension, ideally it would be an official Drupal project.

@EvanLovely

This comment has been minimized.

Member

EvanLovely commented May 5, 2016

This would be amazing. That issue linked has been getting a ton of attention lately!

@heddn

This comment has been minimized.

heddn commented Dec 13, 2016

This seems stalled out. Is there any progress, apart from the linked issue?

@aleksip

This comment has been minimized.

Member

aleksip commented Dec 22, 2016

Not that I know of, I'm afraid.

Using 'presenter' templates in component based Drupal themes seems to be the currently popular solution. With no Drupal specific Twig in the components themselves, there is no need for a Drupal Twig Extension in Pattern Lab. It would still be nice to have a Drupal Twig Extension for other use cases, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment