Problem/Motivation

When you enable the module, the method hook_help is not implemented.

Steps to reproduce

Download and activate the module and visit it's help page.

Proposed resolution

Implement the hook_help and describe the functionality of the module and it's usage.

Remaining tasks

Implement hook_help.

Issue fork geo_entity-3339806

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Shubham Rathore created an issue. See original summary.

shubham rathore’s picture

Assigned: shubham rathore » Unassigned
Status: Active » Needs review

Created MR for the issue.
Please review.
Thanks

Charchil Khandelwal’s picture

Assigned: Unassigned » Charchil Khandelwal

I will review this.

Charchil Khandelwal’s picture

Assigned: Charchil Khandelwal » Unassigned
Status: Needs review » Reviewed & tested by the community

MR !1 looks good to me.
So moving it to RTBC.

Thanks.

ekes’s picture

Status: Reviewed & tested by the community » Needs work

If a `hook_help` is to be implemented in Drupal now it is only valuable if it includes the uses section as per documentation https://www.drupal.org/node/632280#s-help-page Repeating the description of the module in the help page about section is only visible once the module has been installed. Where you can see the description itself before installing.

There's an issue for https://www.drupal.org/project/geo_entity/issues/3339631 adding the usage documentation. You can work from the existing https://github.com/localgovdrupal/localgov_geo/wiki/Locations-Module-(LocalGov-Geo) documentation, but it needs updating for this version.

Also this patch includes 'single quoted content' inside a 'single quoted content' without escaping, so it will break

admin@azhark.com’s picture

Title: hook_help function missing in .module file » Implement hook_help()
Issue summary: View changes
elber’s picture

Assigned: Unassigned » elber

I will work on it

elber’s picture

Assigned: elber » Unassigned
Status: Needs work » Needs review

Hi I just launched a suggestion to hook help please revise.

ekes’s picture

Status: Needs review » Needs work

The latest version of the PR will just dump the unformatted raw markdown into the help page. Kinda scarey and not really great UX.

I will repeat what I said above, and try explaining again. If a hook_help() is to be useful it needs to include help for a user who has installed the module. You can't see the help until it's actually installed... you can see the module page and readme on the web before it's installed.

If people would like to be helpful. Please update the documentation for this module (see existing issue for links), and include this with appropriate links to pages within the users site.

Anything else is just a waste of everyones time.

elber’s picture

Assigned: Unassigned » elber

ok I will try to work again.

elber’s picture

Assigned: elber » Unassigned
Status: Needs work » Needs review

Hi I update the hook help trying to follow your suggestions, please revise.

WagnerMelo’s picture

Assigned: Unassigned » WagnerMelo

Hi, i'll review it. XD

ekes’s picture

Status: Needs review » Needs work
elber’s picture

Assigned: WagnerMelo » Unassigned
Status: Needs work » Needs review

Hi I update hook help trying to follow the previous comments, please revise.

nupur badola’s picture

StatusFileSize
new99.98 KB

It is not compatible with D-9.5.9

elber’s picture

Hi @Nupur Badola it is expected because the branch is compatible just with drupal 10.

kavitha89’s picture

StatusFileSize
new15.26 KB
new30.56 KB
new15.66 KB

Verified the MR4 on 10.1.0, help() is added. Added screenshots for reference & it can be moved to RTBC

Thank you.

elber’s picture

Status: Needs review » Reviewed & tested by the community

Moving to RTBC according previous comment