You are here

function discussthis_field_is_empty in Discuss This! 7.2

Implements hook_field_is_empty().

hook_field_is_emtpy() is where Drupal asks us if this field is empty. Return TRUE if it does not contain data, FALSE if it does. This lets the form API flag an error when required fields are empty.

File

./discussthis.fields.inc, line 66
DiscussThis field declaration using Field Types API.

Code

function discussthis_field_is_empty($item, $field) {

  // @todo Add a return
}