You are here

function party_hat_devel_generate in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_hat/party_hat.devel_generate.inc \party_hat_devel_generate()

@file Party hat developer tools

File

modules/party_hat/party_hat.devel_generate.inc, line 7
Party hat developer tools

Code

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