Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Oct 2016 at 18:39 UTC
Updated:
13 Feb 2017 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shashikant_chauhan commentedadding patch.
Comment #3
chi commentedAs this parameter is passed directly to Url component we could just reference the method which accepts it (Url::fromUri) to avoid duplication.
The Url constructor does it this way.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Url.php/f...
Comment #4
dalinI agree, let's not duplicate documentation.
Comment #5
shashikant_chauhan commentedAdded suggestion mentioned by Chi.
Comment #6
dalinComment #7
catchCould we explicitly say the $options param takes exactly the same structure? Otherwise I agree not duplicating is good.
Comment #8
yashsharma01 commentedComment #9
yashsharma01 commentedI have added comments and fixed @see documentation changes.
Comment #11
dalin@yashsharma01
I think we actually need both of those lines for the sentence to make sense.
Comment #12
rakesh.gectcrComment #13
rakesh.gectcrComment #14
rakesh.gectcrComment #15
rakesh.gectcrComment #16
rosschive commentedTaking a look as part of Global Sprint Weekend (Boston)...
Verifying that proposed changes in the interdiff are reflected in @rakesh.gectcr's submitted patch. Additionally, I launched simplytest.me sandbox site (with patch) without incident and site is stable.
Comment #17
webchickYay for less Druplication! ;)
Committed and pushed to 8.4.x, cherry-picked to 8.3.x and 8.2.x. Thanks!