Commit 9830ef98 authored by xjm's avatar xjm

Issue #2920003 by mairi, shashikant_chauhan, tedbow, dinarcon, kwhite: Add...

Issue #2920003 by mairi, shashikant_chauhan, tedbow, dinarcon, kwhite: Add Change record to @deprecated for redirect.destination service
parent 40fb0c8b
......@@ -148,12 +148,13 @@
* If the query parameter isn't present, then the URL of the current
* request is returned.
*
* @see \Drupal\Core\EventSubscriber\RedirectResponseSubscriber::checkRedirectUrl()
*
* @ingroup form_api
*
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0.
* Use the redirect.destination service.
*
* @see \Drupal\Core\EventSubscriber\RedirectResponseSubscriber::checkRedirectUrl()
* @see https://www.drupal.org/node/2448603
*/
function drupal_get_destination() {
return \Drupal::destination()->getAsArray();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment