Skip to content

Commit

Permalink
Remove setRedirect on submit function
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Oct 14, 2014
1 parent 2d3c9f3 commit 09fcdf1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class {{ entity_class }}Form extends ContentEntityForm
public function submit(array $form, FormStateInterface $form_state) {
// Build the entity object from the submitted values.
$entity = parent::submit($form, $form_state);
$form_state->setRedirect('{{ entity_name }}.list');

return $entity;
}
Expand Down

0 comments on commit 09fcdf1

Please sign in to comment.