public function EntityDefaultUIController::operationFormSubmit in Entity API 7
Operation form submit callback.
1 call to EntityDefaultUIController::operationFormSubmit()
- EntityContentUIController::operationFormSubmit in includes/
entity.ui.inc - Operation form submit callback.
1 method overrides EntityDefaultUIController::operationFormSubmit()
- EntityContentUIController::operationFormSubmit in includes/
entity.ui.inc - Operation form submit callback.
File
- includes/
entity.ui.inc, line 417 - Provides a controller for building an entity overview form.
Class
- EntityDefaultUIController
- Default UI controller providing admin UI.
Code
public function operationFormSubmit($form, &$form_state) {
$msg = $this
->applyOperation($form_state['op'], $form_state[$this->entityType]);
drupal_set_message($msg);
$form_state['redirect'] = $this->path;
}