You are here

function entity_ui_operation_form in Entity API 7

Form builder for the entity operation form.

See also

EntityDefaultUIController::operationForm()

1 string reference to 'entity_ui_operation_form'
EntityDefaultUIController::hook_forms in includes/entity.ui.inc
Provides definitions for implementing hook_forms().

File

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

Code

function entity_ui_operation_form($form, &$form_state, $entity_type, $entity, $op) {
  $form_state['op'] = $op;
  return entity_ui_controller($entity_type)
    ->operationForm($form, $form_state, $entity, $op);
}