function getlocations_fields_devel_generate in Get Locations 7.2
Same name and namespace in other branches
- 7 modules/getlocations_fields/getlocations_fields.devel_generate.inc \getlocations_fields_devel_generate()
Implements hook_devel_generate().
Included only when needed.
File
- modules/
getlocations_fields/ getlocations_fields.devel_generate.inc, line 18 - getlocations_fields.devel_generate.inc @author Bob Hutchinson https://www.drupal.org/u/hutch @copyright GNU GPL
Code
function getlocations_fields_devel_generate($entity, $field, $instance, $bundle) {
$places = _get_locations_get_random_places(1);
return $places[0];
}