This was spun off from @wesruv's comment
As a themer I looooooove that I can do all of these things with libraries. The last 3 are kind of "power-usery", but have solid use-cases, IMO. ... In D8 land you're able to do the following to libraries:
- Add new
- Remove entire library
- Add an asset to an existing library
- Remove a single asset from an existing library
- Override a single asset from an existing library
I think getting the 2nd one done would be a huge step forward, but thought the others might be worth mentioning in case we wanted to think about other potential needs.
It'd be nice to add a library removal function, or library alter. But for now I'll recommend this in the tutorial thing I'm working on.
Related: * https://www.drupal.org/docs/8/theming-drupal-8/adding-stylesheets-css-an... * https://www.drupal.org/node/2201089
Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists