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.
It's not necessarily clear whether drush fn-hook
expects "hook_HOOKNAME" or just "HOOKNAME". A little simple clarifying text in the help and an example would make it obvious. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#8 | devel-clarify-fn-hook-1917514-8.patch | 761 bytes | TravisCarden |
#1 | drush-clarify-fn-hook-1917514-1.patch | 799 bytes | TravisCarden |
Comments
Comment #1
TravisCarden CreditAttribution: TravisCarden commentedComment #2
TravisCarden CreditAttribution: TravisCarden commentedOh, one more thing. The patch should apply equally well on D6-D8.
Comment #3
juampynr CreditAttribution: juampynr commentedFixed. Thanks!
http://drupalcode.org/project/devel.git/commitdiff/b1c68bc
Comment #4
salvis@juampy: Since you list only one commitdiff I have to ask: did you commit to all three branches?
If yes, then please clear the tags.
Comment #5
juampynr CreditAttribution: juampynr commentedThanks for reminding it @salvis. Backported to D7. Feel free to reopen and submit a backport for D6 (patch does not apply).
Comment #6
salvisThanks
Comment #7
TravisCarden CreditAttribution: TravisCarden commentedI'll get back to this, but not right away...
Comment #8
TravisCarden CreditAttribution: TravisCarden commentedHere's a patch for D6. I'll just set this back to RTBC since it's so trivial and I didn't change anything.
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted to 6.x Sorry about the 18 month delay.
Comment #11
TravisCarden CreditAttribution: TravisCarden commentedLol. Thanks.