summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsy-melity2016-04-24 00:48:13 +0200
committerEmil Stjerneman2016-04-24 00:48:13 +0200
commitb9c3891102bc0b21d8aab1d72f1fbcc488652d1e (patch)
tree518aa101f4ea0512372e7e2ce089534120d96e0d
parentafe0046cf4d88a1e40babd9b338cb7488deea15e (diff)
Issue #2696825 by Swetha Yarla: Linkit deprecated methods from Code base8.x-5.0-alpha1
-rw-r--r--src/Form/Profile/FormBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Form/Profile/FormBase.php b/src/Form/Profile/FormBase.php
index 5d0e3be..ce29973 100644
--- a/src/Form/Profile/FormBase.php
+++ b/src/Form/Profile/FormBase.php
@@ -77,7 +77,7 @@ abstract class FormBase extends EntityForm {
case SAVED_UPDATED:
drupal_set_message($this->t('Updated profile %label.', ['%label' => $linkit_profile->label()]));
$this->logger('linkit')->notice('Updated profile %label.', ['%label' => $linkit_profile->label(), 'link' => $edit_link]);
- $form_state->setRedirectUrl($linkit_profile->urlInfo('edit-form'));
+ $form_state->setRedirectUrl($linkit_profile->toUrl('edit-form'));
break;
}
}