function cer_update_form_validate in Corresponding Entity References 7
The update form. Allows updating of current entitys.
File
- ./
cer.admin.inc, line 190 - Admin functionality, separated for performance purposes.
Code
function cer_update_form_validate($form, &$form_state) {
$type = $form_state['values']['type'];
if (empty($type)) {
form_set_error('type', t('You must select an entity type.'));
}
}