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.
After enabling this module, we will have the README.txt, even though need to implement a hook_help for guideline for developer.
Comment | File | Size | Author |
---|---|---|---|
#2 | hierarchical_select-implement-hook-help-2723843-2.patch | 1.38 KB | madan879 |
Comments
Comment #2
madan879 CreditAttribution: madan879 at Clarion Technologies commentedI have created patch for hook_help()
Comment #3
drupalove CreditAttribution: drupalove as a volunteer commentedHi Madan,
lines of code should not be longer than 80 characters. See the Coding standards documentation.
However, it is better to use the markdown filter with the existing readme file to avoid adding a big chunk of text. I prefer this option, what do you think?
Alternatively, return the output with the advanced_help_hint_docs() function since the module already has online documentation. See Advance help hint. You can still add a fallback description in case the function doesn't exist, see the example under Provide help text in Drupal UI section in the Module documentation guidelines.
Changing the status of this issue to needs work.
Comment #4
drupalove CreditAttribution: drupalove as a volunteer commentedComment #5
madan879 CreditAttribution: madan879 at Clarion Technologies commentedThanks @drupalove for reviewed patch...
Before creating a patch for hook_help(), I have gone through the core modules like search.module file for how they have handled long description in hook_help(). They aren't limited upto 80 characters, because the user/developer need to read long description about module, this is my assumption.
Generally, limiting characters are seen in comments lines, form attributes like description, title...
And its not a application blocker, so it wont through any errors too..
If you are feel above mentioned points are valid, please kindly change status to RTBC...
And feel free to suggest anything....I will accept it..
Comment #6
stefan.r CreditAttribution: stefan.r commentedComment #8
stefan.r CreditAttribution: stefan.r commented