Now I know that Pattern Lab has offered globally available data via the _data folder for a long time now however that only really helps if you're using Pattern Lab on its own vs having PL serve as a living source of truth for your Design System (with Drupal Integration of course).
I'm pretty sure I can whip something up for this but essentially I'm looking to expose Twig's native Globals extension to PL so shared constants across patterns can get universally shared with Drupal (ex. if using the Unified Twig Extensions module) which would include adding a brand new Globals folder along side the current filter / tags / functions folders.
https://twig.symfony.com/doc/2.x/advanced.html#id1
Now I know that Pattern Lab has offered globally available data via the _data folder for a long time now however that only really helps if you're using Pattern Lab on its own vs having PL serve as a living source of truth for your Design System (with Drupal Integration of course).
I'm pretty sure I can whip something up for this but essentially I'm looking to expose Twig's native Globals extension to PL so shared constants across patterns can get universally shared with Drupal (ex. if using the Unified Twig Extensions module) which would include adding a brand new Globals folder along side the current filter / tags / functions folders.
CC @EvanLovely @evanmwillhite @aleksip