Help_hook () Does not display the help icon in the Drupal 7 Module menu

I am trying to add a help button to the module menu. I have Doing Lots Off R&D, but it crashes. BTW Here is my code

my_first_module.info

name = My Module
description = embedded Video Comment
core = 7.x

my_first_module.module

<?php
/**
 * Implements hook_help().
 */

function my_first_module_help($path, $arg) {
  if ($path == 'admin/help#my_first_module') {
    return t('A demonstration module.');
  }
}

I have a cleared cache But the link link is not displayed

+4
source share
1 answer

My best guess is that the help module (from Core) is not included.

0
source

Source: https://habr.com/ru/post/1609283/


All Articles