You are here

function yamaps_field_is_empty in Yandex.Maps 7

Implements hook_field_is_empty().

File

./yamaps.module, line 267
Yandex Maps module main file.

Code

function yamaps_field_is_empty($item, $field) {
  if ($field['type'] == 'field_yamaps') {
    return empty($item['coords']);
  }
}