Problem/Motivation
When you enable the module, the method hook_help is not implemented.
Steps to reproduce
Download and activate the module and visit its help page.
Proposed resolution
Implement the hook_help and describe the module's functionality and usage.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3348628-HelpPage.png | 191.18 KB | clarkssquared |
| #8 | 3348628-after.png | 76.48 KB | clarkssquared |
| #8 | 3348628-before.png | 87.02 KB | clarkssquared |
| #4 | after-patch-HelpClicked.png | 437.81 KB | clarkssquared |
| #4 | after-patch.png | 140.39 KB | clarkssquared |
Issue fork activitypub-3348628
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
Comment #3
sahana _n commentedPlease review the MR
Comment #4
clarkssquared commentedHi Sahana _N,
I applied your MR in my local with Drupal 9.5.4, it worked for me the module has now the hook_help() method but when I visit the help page an error TypeError: activitypub_help(): Argument #2 ($route_match) must be of type RouteMatchInterface, Drupal\Core\Routing\CurrentRouteMatch given in activitypub_help() (line 22 of modules/contrib/activitypub/activitypub.module). appears.
Please look at the screenshots attached for your reference.
For your review.
Thank you.
Comment #5
himanshu_jhaloya commentedI will work on this
Comment #7
himanshu_jhaloya commentedComment #8
clarkssquared commentedHi Sahana _N,
I applied MR !23 in my local with Drupal 9.5.7 to the "ActivityPub" module against "
1.0.x-dev" version and confirmed that the hook_help() method is implemented and the help page is now accessible.
Please look at the screenshots attached for your reference.
For your review.
Thank you.
Comment #16
swentel commentedMerged, thanks!