Sending Drupal variables to Twig and JavaScript

2 years ago
27

Setting up the necessary tools to send Drupal environment variables from settings.local.php to twig templates and/or your theme's JavaScript file.

**Resources**

[notes.md](https://gitlab.com/ars-nova-public/linux-public/-/blob/master/drupal-vars-twig-js-notes.md)
watch_cr (auto cache clear when files change):
* [repository](https://gitlab.com/ars-nova-public/linux-public/-/blob/master/watch_cr)
* [video](https://odysee.com/@ArsNova:6/vim-xdebug-apache-timeout:8?r=BXA3AwTBVZ6jYUR9ZD3zaNwwxxBed64c)

https://arsnova.cc

Loading comments...