You are here

function sheetnode_devel_generate in Sheetnode 7.2

Same name and namespace in other branches
  1. 7 sheetnode.module \sheetnode_devel_generate()

Implements hook_devel_generate().

File

./sheetnode.module, line 727
Module file for the sheetnode module.

Code

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