Mercurial > hg > isophonics-drupal-site
comparison core/modules/views_ui/src/ViewDuplicateForm.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
72 $this->entity->set('label', $form_state->getValue('label')); | 72 $this->entity->set('label', $form_state->getValue('label')); |
73 $this->entity->set('id', $form_state->getValue('id')); | 73 $this->entity->set('id', $form_state->getValue('id')); |
74 $this->entity->save(); | 74 $this->entity->save(); |
75 | 75 |
76 // Redirect the user to the view admin form. | 76 // Redirect the user to the view admin form. |
77 $form_state->setRedirectUrl($this->entity->urlInfo('edit-form')); | 77 $form_state->setRedirectUrl($this->entity->toUrl('edit-form')); |
78 } | 78 } |
79 | 79 |
80 } | 80 } |