You are here

public function GroupUIController::operationFormSubmit in Group 7

Operation form submit callback.

Overrides EntityDefaultUIController::operationFormSubmit

File

classes/group.ui_controller.inc, line 177
Defines the Entity API UI class for groups.

Class

GroupUIController
UI class for groups.

Code

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

  // Redirect to the front page after deleting a group.
  $form_state['redirect'] = '<front>';
}