drupal_get_destination()
Prepares a 'destination' URL query parameter.
Used to direct the user back to the referring page after completing a form. By default the current URL is returned. If a destination exists in the previous request, that destination is returned. As such, a destination can persist across multiple pages.
Return value
array An associative array containing the key:
destination: The value of the current request's 'destination' query parameter, if present. This can be either a r