Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would be nice to have libraries support, if you don't have the lib in docroot/libraries.
For examples distributions have their libs in docroot/profile/thunder/libraries
Comment | File | Size | Author |
---|---|---|---|
#4 | 2837982_3.patch | 2.81 KB | criz |
#2 | 2837982_2.patch | 1.63 KB | chr.fritsch |
Comments
Comment #2
chr.fritschHere we go
Comment #4
crizThanks, I committed the missing library variant when loaded as a field.
Here is an updated patch for the libraries support (the naked variant was implementing css instead of js and hook_requirements has been updated).
However, as the current libraries implementation is deprecated and will be removed before a stable Drupal 8 release I'm not sure if we should commit this? Any thoughts?
Comment #5
chr.fritschYes, thats true, but IMHO i guess currently its the only way to do it. In libraries there is actual no development, so god knows when this will change. Other modules like dropzone or slick are doing it in the same way. So i think for know it's fine.
Comment #7
crizOkay, committed. Thanks. :)