Comments

vandna b created an issue. See original summary.

vandna b’s picture

Title: module does not implement hook_help function » Module does not implement hook_help function

implement hook_help().

vandna b’s picture

StatusFileSize
new14.15 KB
deepakkumar14’s picture

Status: Needs work » Needs review
StatusFileSize
new1.31 KB

I am submitting patch for this.

brahmjeet789’s picture

StatusFileSize
new832 bytes

@deepakkumar14 i have rerolled your patch in hook_help shows functionality of module it doesn't require installation and dependency information because hook_help is showing after you installed the module.

mahtab_alam’s picture

See this example

/**
 * Implements hook_help().
 */
function MODULE_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
  switch ($route_name) {

    case 'help.page.MODULE':
      return '<p>' . t('Help Description.') . '</p>';
  }
}
brahmjeet789’s picture

StatusFileSize
new828 bytes

there is whitespace error fixed that and reroll the patch please verify

amietpatial’s picture

StatusFileSize
new38.37 KB

#7 patch applied and it looks fine

amietpatial’s picture

Status: Needs review » Reviewed & tested by the community

  • keshav.k committed 4035f34 on 8.x-1.x authored by brahmjeet789
    Issue #2979540 by brahmjeet789, deepakkumar14, vandna b, amietpatial,...
keshavv’s picture

Status: Reviewed & tested by the community » Fixed

  • keshav.k committed 4d591bd on 8.x-1.x authored by brahmjeet789
    Issue #2979540 by brahmjeet789, deepakkumar14, vandna b, amietpatial,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.