function file_devel_generate in Devel 7
File
- devel_generate/
file.devel_generate.inc, line 3
Code
function file_devel_generate($object, $field, $instance, $bundle) {
if (field_behaviors_widget('multiple values', $instance) == FIELD_BEHAVIOR_CUSTOM) {
return devel_generate_multiple('_file_devel_generate', $object, $field, $instance, $bundle);
}
else {
return _file_devel_generate($object, $field, $instance, $bundle);
}
}