You are here

public function EntityContentUIController::operationFormSubmit in Entity API 7

Operation form submit callback.

Overrides EntityDefaultUIController::operationFormSubmit

File

includes/entity.ui.inc, line 571
Provides a controller for building an entity overview form.

Class

EntityContentUIController
UI controller providing UI for content entities.

Code

public function operationFormSubmit($form, &$form_state) {
  parent::operationFormSubmit($form, $form_state);

  // The manage entity path is unset for the content entity UI.
  $form_state['redirect'] = '<front>';
}