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.
Per the Module documentation guidelines, a module should Provide help text in the Drupal UI. This module is missing an implementation of hook_help(), but it does provide a fairly comprehensive README file, which can be included in hook_help() as a stop gap until something better can be created.
Documentation:
https://www.drupal.org/docs/develop/documenting-your-project/module-docu...
https://www.drupal.org/node/632280
Patch to follow, thanks!
Comment | File | Size | Author |
---|---|---|---|
#7 | js_sha-hook_help-3062635-7.patch | 1.29 KB | alonaoneill |
#5 | js_sha-hook_help-3062635-5.patch | 1.23 KB | alonaoneill |
Comments
Comment #2
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedI uploaded the patch that adds hook_help file.
Thanks
Comment #3
apadernoThe content of the README.md file doesn't make it suitable for a
hook_help()
implementation, since it gives information on how to install the module, which is not anymore necessary when the module is installed.Comment #4
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedShould I just add "About" and "Usage" instead of refering it to README?
I can't really find good way to do it.
Comment #5
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedI uploaded hook_help() that doesn't require README.md file.
Comment #6
Willtg CreditAttribution: Willtg at Hook 42 commentedThe 'a' tag from line 36 is not closed. Marking as NW
Comment #7
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedMade changes!
Comment #8
gg4 CreditAttribution: gg4 commentedSource order in patch is incorrect -
@file
anduse
need to be moved.Comment #10
gg4 CreditAttribution: gg4 commented