You are here

function number_devel_generate in Devel 7

File

devel_generate/number.devel_generate.inc, line 4

Code

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