Commit 090dd7d5 authored by TravisCarden's avatar TravisCarden

By TravisCarden: Replaced drupal_get_destination() with redirect.destination service per #2448603.

parent 76d8af7d
......@@ -65,7 +65,7 @@ class ChecklistapiController extends ControllerBase {
'clear' => array(
'title' => t('Clear'),
'url' => Url::fromRoute($checklist->getRouteName() . '.clear', array(), array(
'query' => drupal_get_destination(),
'query' => $this->getDestinationArray(),
)),
),
),
......
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