function list_field_is_empty
Implements hook_field_is_empty().
File
-
modules/
field/ modules/ list/ list.module, line 408
Code
function list_field_is_empty($item, $field) {
if (empty($item['value']) && (string) $item['value'] !== '0') {
return TRUE;
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.