route_url

Return the absolute URL path appended the query string if necessary Alias _url()

Parameters
string $path = null

Routing path such as "foo/bar"; Named route such as "fool_bar"; NULL for the current path

#
array $queryStr = []

Query string as array( $value1, // no key here 'key1' => $value2, 'key3' => $value3 or array($value3, $value4) )

#
string $lang = ''

Language code to be prepended to $path such as "en/foo/bar". It will be useful for site language switch redirect

#
Returns
string