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.

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

vimal_nadar created an issue. See original summary.

vimal_nadar’s picture

Assigned: vimal_nadar » Unassigned
Status: Active » Needs review

I have created MR. Please review it.

raveen_thakur51’s picture

I have reviewed & Implemented the MR! on my Drupal website having version 9.5, PHP version - 8.1
The hook_help has been implemented successfully. Can be moved to RTBC!
Please & Thank You.

tanuja bohra’s picture

Status: Needs review » Needs work
StatusFileSize
new15.36 KB

After applying the MR 2 on 9.5.8 getting a website encounter error on help. See the screenshot for reference.

raveen_thakur51’s picture

StatusFileSize
new19.6 KB
new21.51 KB

@Tanuja, Please use the following namespace in your .module file
use Drupal\Core\Routing\RouteMatchInterface;
It will resolve the issue. And thank you.
Please see my attached ss for reference.

raveen_thakur51’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.9 KB

I am adding my complete patch for it. Please test. Thank you.

tanuja bohra’s picture

StatusFileSize
new15.52 KB
new15.6 KB

@Raveen, thanks working for me now.

raveen_thakur51’s picture

@Tanuja. Okay, Thank You for confirming.