Commit b9c38911 authored by SWETHA YARLA's avatar SWETHA YARLA Committed by Emil Stjerneman
Browse files

Issue #2696825 by Swetha Yarla: Linkit deprecated methods from Code base

parent afe0046c
......@@ -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;
}
}
......
Supports Markdown
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