Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently when one visits admin/help/pirate, it reads "No help is available for module Pirate filter."
Comment | File | Size | Author |
---|---|---|---|
#10 | pirate-helper_function-2584025-10.patch | 592 bytes | makbul_khan8 |
#3 | Pirate filter drupal8.png | 18.5 KB | monika.kadam1206 |
#3 | pirate-corrected-route-path-and-added-help-text-2584025-3.patch | 820 bytes | monika.kadam1206 |
Comments
Comment #2
monika.kadam1206 CreditAttribution: monika.kadam1206 as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #3
monika.kadam1206 CreditAttribution: monika.kadam1206 as a volunteer and at Faichi Solutions Pvt Ltd commentedIn hook_help() function their was full path but in D8 we need to add route instead of path.
So changed path to route.
Also the help text updated from readme file.
The patch is working. For more details I have attached the output screen short.
If anything needs to be updated let me know.
Comment #4
monika.kadam1206 CreditAttribution: monika.kadam1206 as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #5
saurabh.tripathi.cs CreditAttribution: saurabh.tripathi.cs as a volunteer and at Faichi Solutions Pvt Ltd commentedHi,
This patch works for me.Previously path was used in hook help but as per Drupal 8 standard route name should be used.
Verified.
Comment #7
sillygwailoPushed to the 8.x branch. This would be nice for the 7.x branch too.
Comment #8
sillygwailoComment #9
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedComment #10
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedCreated patch for D7 as per hook_help.
Comment #11
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedComment #13
sillygwailoLooks good. Committed with a small revision (to add a link).
Comment #14
makbul_khan8 CreditAttribution: makbul_khan8 at Faichi Solutions Pvt Ltd commentedUpdating status as fixed.