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.
Problem/Motivation
Over in #1396892: drupal_get_library() may break JavaScript library path by clobbering it with the library version number we added a shorthand.js to test adding JavaScript files to pages using the shorthand form of drupal_add_js().
But hook_library_info() and drupal_add_js() are now redundant, and the test coverage it was added for is also gone.
So we should remove the empty js file.
Proposed resolution
Remove it
Remaining tasks
Review
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
shorthand-plugin-not-needed.patch | 615 bytes | larowlan | |
Comments
Comment #1
LinL CreditAttribution: LinL commentedCouldn't find any other reference to shorthand.js, RTBC.
Comment #2
alexpottCommitted 0fb70c7 and pushed to 8.x. Thanks!