You are here

function addressfield_devel_generate in Address Field 7

File

./addressfield.devel_generate.inc, line 12

Code

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