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

The links in hook_help need to be changed.

#3 interdiff.txt2.26 KBbatigolix
#3 hook-help-editor-2091377.3.patch4.41 KBbatigolix
PASSED: [[SimpleTest]]: [MySQL] 59,423 pass(es). View
#1 hook-help-editor-2091377.1.patch4.41 KBbatigolix
PASSED: [[SimpleTest]]: [MySQL] 58,746 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


batigolix’s picture

Status: Active » Needs review
4.41 KB
PASSED: [[SimpleTest]]: [MySQL] 58,746 pass(es). View


- 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
4.41 KB
PASSED: [[SimpleTest]]: [MySQL] 59,423 pass(es). View
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
+\Drupal::url('', 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.