You are here

function languagefield_field_is_empty in Custom Language field 7

Implements hook_field_is_empty().

File

./languagefield.module, line 192
Provides a list of languages from ISO 639 standard. All variables of a $language-object can be found here: http://api.drupal.org/api/drupal/developer--globals.php/global/language

Code

function languagefield_field_is_empty($item, $field) {
  return empty($item['value']);
}