diff --git a/core/modules/views_ui/src/ViewAddForm.php b/core/modules/views_ui/src/ViewAddForm.php index ea8708f..9f28cfe 100644 --- a/core/modules/views_ui/src/ViewAddForm.php +++ b/core/modules/views_ui/src/ViewAddForm.php @@ -149,7 +149,7 @@ protected function actions(array $form, FormStateInterface $form_state) { $actions = parent::actions($form, $form_state); $actions['submit']['#value'] = $this->t('Save and edit'); // Remove EntityFormController::save() form the submission handlers. - $actions['submit']['#submit'] = []; + $actions['submit']['#submit'] = array(array($this, 'submitForm')); $actions['cancel'] = array( '#type' => 'submit', '#value' => $this->t('Cancel'),