You are here

function field_test_default_value in SimpleTest 7

Sample function to test default value assignment.

File

tests/field_test.module, line 635

Code

function field_test_default_value($obj_type, $object, $field, $instance) {
  return array(
    array(
      'value' => 99,
    ),
  );
}