You are here

function double_field_devel_generate in Double Field 7

Same name and namespace in other branches
  1. 7.2 double_field.devel_generate.inc \double_field_devel_generate()

Implements hook_devel_generate().

File

./double_field.devel_generate.inc, line 10
Functions needed for devel_generate integration.

Code

function double_field_devel_generate($object, $field, $instance, $bundle) {
  return array(
    'first' => user_password($field['settings']['first_maxlength']),
    'second' => user_password($field['settings']['second_maxlength']),
  );
}