Skip to content
Snippets Groups Projects
Commit d5310f04 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1722244 by Albert Volkman, edb: Add return docs to drupal_get_destination function

parent 3d94f559
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -509,6 +509,12 @@ function drupal_http_build_query(array $query, $parent = '') { ...@@ -509,6 +509,12 @@ function drupal_http_build_query(array $query, $parent = '') {
* previous request, that destination is returned. As such, a destination can * previous request, that destination is returned. As such, a destination can
* persist across multiple pages. * persist across multiple pages.
* *
* @return
* An associative array containing the key:
* - destination: The path provided via the destination query string or, if
* not available, the current path.
*
* @see current_path()
* @see drupal_goto() * @see drupal_goto()
*/ */
function drupal_get_destination() { function drupal_get_destination() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment