You are here

function link_devel_generate in Link 7

Implements hook_devel_generate().

File

./link.devel_generate.inc, line 11
Devel Generate support for Link module.

Code

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