Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_g...
This is the description of the 'query' paramter:
$query: A query string component, if any.
Due to the fact that the value is simply handed over to the url() function, the description should be the same as on page http://api.drupal.org/api/drupal/includes!common.inc/function/url/6
'query': A URL-encoded query string to append to the link, or an array of query key/value-pairs without any URL-encoding
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal_goto-query-documentation-1432708-2.patch | 939 bytes | scorchio |
Comments
Comment #1
jhodgdonProbably it would be even better if it just referred to url() for details. Sounds like a good project for a novice patch contributor. Note that this is 6.x only (7.x/8.x have different arguments and already refer to url() for details).
Comment #2
scorchio CreditAttribution: scorchio commentedHere's a patch for this one.
Comment #3
jhodgdonLooks OK to me. Thanks!
Comment #4
Gábor HojtsyThanks, committed, pushed.