function hms_field_devel_generate in HMS Field 7
Implements hook_devel_generate().
File
- ./
hms_field.devel_generate.inc, line 11 - Devel Generate support for HMS Field module.
Code
function hms_field_devel_generate($object, $field, $instance, $bundle) {
if (field_behaviors_widget('multiple values', $instance) == FIELD_BEHAVIOR_CUSTOM) {
return devel_generate_multiple('_hms_field_devel_generate', $object, $field, $instance, $bundle);
}
else {
return _hms_field_devel_generate($object, $field, $instance, $bundle);
}
}