You are here

function party_hat_form_validate in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_hat/party_hat.admin.inc \party_hat_form_validate()

Form validation for the hat edit form.

File

modules/party_hat/party_hat.admin.inc, line 162
Contains admin page callbacks for the party hats module.

Code

function party_hat_form_validate($form, &$form_state) {
  $pseudo_entity = (object) $form_state['values'];
  field_attach_form_validate('party_hat', $pseudo_entity, $form, $form_state);
}