You are here

function field_collection_devel_generate in Field collection 7

Implements hook_devel_generate().

File

./field_collection.module, line 2095
Module implementing field collection field type.

Code

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