Drupal 8: Attaching Core Libraries and Other Scripts to Your Theme
In this blog post, we learn how to add core and theme scripts in to Drupal 8 using a theme libraries YML or YAML file.
Danny Englander: software engineer with a passion for learning something new every day
In this blog post, we learn how to add core and theme scripts in to Drupal 8 using a theme libraries YML or YAML file.
I'm currently working on a Drupal build where I'd like users to be able to easily add icons to menu items through the UI. Enter FontAwesome, the scalable vector icon font that leverages the power of CSS. That in combo with the infamous Menu Attributes module allows users to add custom classes to Drupal menu items via the Menu edit interface on a per menu item basis. This is ideal for what we need to accomplish.
I get great ideas from users of both my Drupal contrib themes, Bamboo and Gratis. Typically a user will write to me and ask, "how do I do x" with your theme?
A typical use case for Entity Reference and one that I'll use as an example is if you have news stories on your site and you want your editors to be able to pick a specific related blog post and show it on a news story node.
It's hard to believe I've been using both Features and Drush for a few years but didn't know you can create, update and manage your features all with Drush.