You are here

function _hms_field_devel_generate in HMS Field 7

Callback for hook_devel_generate().

1 call to _hms_field_devel_generate()
hms_field_devel_generate in ./hms_field.devel_generate.inc
Implements hook_devel_generate().
1 string reference to '_hms_field_devel_generate'
hms_field_devel_generate in ./hms_field.devel_generate.inc
Implements hook_devel_generate().

File

./hms_field.devel_generate.inc, line 23
Devel Generate support for HMS Field module.

Code

function _hms_field_devel_generate($object, $field, $instance, $bundle) {
  return array(
    'value' => mt_rand(-86400, 86400),
  );
}