function rate_field_validate in Rate 7.2
Implements hook_field_validate().
File
- ./
rate.module, line 125 - Main module file for the Rate module.
Code
function rate_field_validate($obj_type, $object, $field, $instance, $langcode, &$items, &$errors) {
foreach ($items as $delta => $item) {
// @todo Add validation.
}
}