- πΈπͺSweden twod Sweden
A patch equivalent to the current PR was applied as part of π Code error url fragment: wrong array key: key #fragment should be fragment Fixed , including test coverage.
#6 was not addressed though. - Status changed to Closed: duplicate
over 1 year ago 12:26pm 14 June 2023 - πͺπΈSpain eduardo morales alberti Spain, πͺπΊ
Merged on https://www.drupal.org/project/drupal/issues/3331870 π Code error url fragment: wrong array key: key #fragment should be fragment Fixed
- π«π·France Chris64 France
For #6, yes good idea. What should be the exact use of
Url::fromUri()
in that context? The function need two arguments:string $uri
,array $options
: (optional). No key'path'
. See Url::fromUri. Then some thing like,$path = $options['path']; unset($options['path']); $url = Url::fromUri($path, $options)->toString();