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.


Dick Munroe

libraries.module.patch585 bytesmunroe_richard
Members fund testing for the Drupal project. Drupal Association Learn more


tstoeckler’s picture

Issue summary: View changes
Status: Active » Fixed

Sorry 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...).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.