patternlab-php-core icon indicating copy to clipboard operation
patternlab-php-core copied to clipboard

Move Twig-specific code from core to patternengine-php-twig

Open aleksip opened this issue 8 years ago • 1 comments

LineageHelper has some special handling for Twig. We should move this to patternengine-php-twig as core should be templating engine agnostic.

I think this should be possible to do by adding a PatternLabListener.php to patternengine-php-twig and hooking into patternData.lineageHelperStart or patternData.lineageHelperEnd.

@sghoweri Would you like to have a go at this? :)

aleksip avatar Nov 20 '17 10:11 aleksip

Sounds like something right up my alley 🙂

If you could reassign this to me I can take care of this this week!

sghoweri avatar Nov 20 '17 11:11 sghoweri