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