You are here

function countries_devel_generate in Countries 8

Same name and namespace in other branches
  1. 7.2 countries.devel_generate.inc \countries_devel_generate()

Implements hook_devel_generate().

File

./countries.devel_generate.inc, line 11
Devel Generate module integration.

Code

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