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.
Which is not the case if you use hook_libraries_info directly. Since 3rd party libraries don't necessarily obey the Drupal standard convention, i.e., not camel case, I think the machine names if you're providing .info files should be allowed to follow the 3rd party naming conventions.
The patch is simple and I've included it.
Best,
Dick Munroe
Comment | File | Size | Author |
---|---|---|---|
libraries.module.patch | 585 bytes | munroe_richard | |
Comments
Comment #1
tstoecklerSorry that this has been a long time coming.
I'm not particularly keen on uppercase letters as machine names, but you're right, that we don't have any validation for that so this just fixes an inconsistency.
Committed to 7.x-2.x (http://drupalcode.org/project/libraries.git/commit/a17a395ae3a28eb0d004d...) and 7.x-3.x (http://drupalcode.org/project/libraries.git/commit/61f8b30a7a43ad9ac26bf...).