1 field_test.entity.inc field_test_entity_form_submit_build_test_entity($form, &$form_state)

Updates the form state's entity by processing this submission's values.

File

core/modules/field/tests/field_test/field_test.entity.inc, line 414
Defines an entity type.

Code

function field_test_entity_form_submit_build_test_entity($form, &$form_state) {
  $entity = $form_state['test_entity'];
  entity_form_submit_build_entity('test_entity', $entity, $form, $form_state);
  return $entity;
}