Workaday Reading

Adding assets (CSS, JS) to a Drupal module via *.libraries.yml

“This documentation is for modules. For themes, see Adding stylesheets (CSS) and JavaScript (JS) to a Drupal theme. In Drupal 8 and later versions, stylesheets (CSS) and JavaScript (JS) are loaded through the same system for modules (code) and themes, for everything: asset libraries.”


read »

Leave a Reply

Your email address will not be published. Required fields are marked *