Background:
This issue is part of the task to update the hook_help texts of the modules for Drupal 8:
#1908570: [meta] Update or create hook_help() texts for D8 core modules

Task:
The links in hook_help need to be changed.
See https://drupal.org/node/632280#url-note

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

batigolix’s picture

Status: Active » Needs review
FileSize
4.41 KB

patch:

- changes url() to \Drupal::url()
- changes @token to !token

jhodgdon’s picture

Status: Needs review » Needs work

Thanks! this all looks fine. Can you fix the newline in the middle of the Installing Text Editors item too? That shouldn't be there.

Also, someone needs to manually test the links to make sure they all work and go to the right pages with this change.

batigolix’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
4.41 KB
2.26 KB

Patch removes newline

I tested the links (they work)

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! Let's get this quick fix in.

webchick’s picture

Status: Reviewed & tested by the community » Fixed
-url('admin/help/ckeditor')
+\Drupal::url('help.page', array('name' => 'ckeditor'))

Man. :( Diffs like this makes me cry a bit inside. I can confirm this is the New World Order™ though, so...

Committed and pushed to 8.x. Thanks!

batigolix’s picture

I say this deserves a honorable mention somewhere in the D8 credits for being the smallest that went into D8. Possible?

jhodgdon’s picture

It is definitely not the smallest patch I've seen that got into D8 -- I'm sure at least one has just changed 1 character (spelling errors). :)

Status: Fixed » Closed (fixed)

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