You are here

function field_test_entity_form_validate in SimpleTest 7

Validate handler for field_test_set_field_values().

File

tests/field_test.module, line 308

Code

function field_test_entity_form_validate($form, &$form_state) {
  $entity = field_test_create_stub_entity($form_state['values']['ftid'], $form_state['values']['ftvid'], $form_state['values']['fttype']);
  field_attach_form_validate('test_entity', $entity, $form, $form_state);
}