hook_help function missing in .module file

Created on 23 November 2023, 12 months ago
Updated 4 July 2024, 5 months 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

RTBC

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.71.5 2024