You are here

function entity_ui_form_submit_build_entity in Entity API 7

Submit builder for the main entity form, which extracts the form values and updates the entity.

This is a helper function for entities making use of the entity UI controller.

Return value

object The updated entity.

See also

EntityDefaultUIController::hook_forms()

EntityDefaultUIController::entityFormSubmitBuildEntity()

File

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

Code

function entity_ui_form_submit_build_entity($form, &$form_state) {
  return entity_ui_controller($form_state['entity_type'])
    ->entityFormSubmitBuildEntity($form, $form_state);
}