You are here

function timefield_devel_generate in Timefield 7

File

./timefield.devel_generate.inc, line 12

Code

function timefield_devel_generate($object, $field, $instance, $bundle) {
  if (field_behaviors_widget('multiple values', $instance) == FIELD_BEHAVIOR_CUSTOM) {
    return devel_generate_multiple('_timefield_devel_generate', $object, $field, $instance, $bundle);
  }
  else {
    return _timefield_devel_generate($object, $field, $instance, $bundle);
  }
}