Implement hook_help()

Created on 8 May 2023, over 1 year ago
Updated 14 July 2023, over 1 year ago
📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India nidhi27

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

  • Issue created by @nidhi27
  • 🇮🇳India Akshay kashyap

    Create a patch to implement the hook help. Please check

  • @akshay-kashyap opened merge request.
  • Status changed to Needs review over 1 year ago
  • Status changed to Needs work over 1 year ago
  • 🇵🇭Philippines clarkssquared

    Hi Akshay kashyap

    I applied your patch #2 to my local with Drupal 9.5.9 and it applied cleanly, however, when I tried to check the module in /admin/modules my site encountered a WSOD and threw an error below

    The website encountered an unexpected error. Please try again later.
    ParseError: syntax error, unexpected single-quoted string "

    ", expecting ";" in Drupal\Core\Extension\Extension->load() (line 33 of modules/contrib/design_system/design_system.module).
    Drupal\Core\Extension\Extension->load() (Line: 128)
    Drupal\Core\Extension\ModuleHandler->load('design_system') (Line: 141)
    Drupal\Core\Extension\ModuleHandler->loadAll() (Line: 602)
    Drupal\Core\DrupalKernel->preHandle(Object) (Line: 46)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

    Please also look at the screenshot attached for your reference.

    Thank you.

  • 🇮🇳India Akshay kashyap

    fix issue please review

  • Status changed to Needs review over 1 year ago
  • Status changed to RTBC over 1 year ago
  • 🇵🇭Philippines clarkssquared

    Hi Akshay kashyap

    I applied your patch #6 to my local and confirmed that the patch works, hook help is now implemented and the help page is accessible.

    Please look at the screenshot attached for your reference

    Thank you.

  • Status changed to Needs work over 1 year ago
  • 🇺🇸United States chrissnyder Maryland

    This help content does not accurately describe what this module does or how to configure it. Was this written by some sort of AI?

  • Assigned to nitin_lama
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India nitin_lama India

    Updated help content. Please review.

  • Issue was unassigned.
  • 🇮🇳India Nupur Badola

    Module not present in D9.5.9

  • Status changed to RTBC over 1 year ago
  • Verified the #11 changes on Drupal 10.0.0, the help() content is updated. Adding screenshots for reference, RTBC++

  • Status changed to Needs work over 1 year ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The issue summary should always describe what should be fixed/changed. Neither the title nor screenshots are sufficient to describe what the issue is, even in the case a patch is provided.
    In the case of a bug, the description should also list the steps necessary to reproduce the issue, starting from when the module/theme is installed.

Production build 0.71.5 2024