function entity_example_basic_form_validate

Validation handler for entity_example_basic_add_form form.

We pass things straight through to the Field API to handle validation of the attached fields.

Related topics

File

entity_example/entity_example.module, line 451

Code

function entity_example_basic_form_validate($form, &$form_state) {
    field_attach_form_validate('entity_example_basic', $form_state['values']['basic_entity'], $form, $form_state);
}