drupal-pattern-lab / patternlab-php-core

This repository provides the core functionality for Pattern Lab. It is meant to be used from within an Edition with a PatternEngine and StarterKit.
http://patternlab.io/
MIT License
2 stars 1 forks source link

Working Fix For Pattern Lab Lineages When Using Custom Twig Namespaces #21

Closed sghoweri closed 7 years ago

sghoweri commented 7 years ago

Addresses original issue opened here: https://github.com/EvanLovely/plugin-twig-namespaces/issues/4

Without this workaround when using the Pattern Lab Twig Namespaces plugin using a path / directory other than the one PL would normally assign (ex. one single @mylibrary alias for any pattern to be included by) the original Lineage fix stops working entirely and you get dozens and dozens and dozens of warnings saying you're PL includes / embeds / extends aren't referencing a real pattern.

CC @evanmwillhite @jesconstantine @bradfrost

sghoweri commented 7 years ago
sghoweri commented 7 years ago

Closing out - new PR opened https://github.com/pattern-lab/patternlab-php-core/pull/127