hook_help function missing in .module file

Created on 23 November 2023, 7 months ago
Updated 18 June 2024, 5 days ago

You can add hook help .module file

<?php

use Drupal\Core\Routing\RouteMatchInterface;

/**
* Implements hook_help().
*/
function YOUR_MODULE_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.YOUR_MODULE':
return '

' . t('This is a description of what your module does.') . '

';
}
}

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India kishan@lnwebworks

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024