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.
I notice that you should place .librarie.info files in the library root folder.
Isn't it better to let the libraries_scan_info_files look in subfolders also? Then one can put all files needed for the library in one folder.
Comments
Comment #1
tstoecklerWe cannot do this as that would mean we would recurse into the libraries themselves. However, we cannot impose what files such libraries could contain. Maybe they contain libraries.info files themselves? In general, it's not a good or safe thing to traverse into the full library folder. That's why we restrict our search to the top-level directory.