You are here

function merci_staff_reservation_node_validate in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Same name and namespace in other branches
  1. 7.2 modules/merci_staff/merci_staff.module \merci_staff_reservation_node_validate()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'merci_staff_reservation_node_validate'
merci_staff_form_alter in modules/merci_staff/merci_staff.module

File

modules/merci_staff/merci_staff.module, line 150
merci_staff functions

Code

function merci_staff_reservation_node_validate($form, &$form_state) {
  merci_staff_load_user($form_state['values']);
  foreach ($form['#merci_staff_validated'] as $function) {
    $function($form, $form_state);
  }
  merci_staff_load_user();
}