Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Oct 2015 at 18:18 UTC
Updated:
16 Nov 2015 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
krknth commentedAdded patch
Comment #3
krknth commentedAddded new patch that will fix in block_content module too.
Comment #4
jhodgdonThis all looks good, thanks!
One thing though:
If you are going to add a @param tag line, it also needs a documentation line below it.
Comment #5
anil280988 commentedAdded Documentation line.
Comment #6
rakesh.gectcrComment #7
jhodgdonPatch #5 is correct. Patch #6 isn't -- the parameter is actually a class that generates URLs, not a generated URL and there is no given route anyway.
So, #5 is RTBC. Hiding #6 patch.
Comment #8
alexpottThis class is also missing a protected property for
$this->urlGenerator- let's add that here.Comment #9
krknth commented@alexpott : Added protected $urlGenerator
Comment #10
jhodgdonAn interdiff would have been nice. ;)
Sorry, didn't notice this either in my previous reviews:
url => URL
url => URL
Comment #11
krknth commented@jhodgdon : sorry for not adding interdiff before
fixed your comment
Comment #12
jhodgdonThanks!
Comment #14
alexpottCommitted 3060a7c and pushed to 8.0.x. Thanks!
Technically this is an API change - but I think it is totally acceptable to protect this. Nothing should be publicly accessing this.