You are here

function gm3_field_field_validate in Google Maps API V3 7

Implements hook_field_validate().

File

gm3_field/gm3_field.module, line 497

Code

function gm3_field_field_validate($entity_type, $entity, $field, $instance, $langcode, $items, &$errors) {
  if (function_exists("{$field['type']}_items_validate")) {
    $func = "{$field['type']}_items_validate";
    $func($items, $field['field_name'], $errors);
  }
}