Closed (fixed)
Project:
Libraries API
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2013 at 17:53 UTC
Updated:
23 Feb 2014 at 16:40 UTC
Jump to comment: Most recent
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...).