1 field_test.field.inc | field_test_default_value($entity_type, $entity, $field, $instance) |
Sample 'default value' callback.
File
- core/
modules/ field/ tests/ field_test/ field_test.field.inc, line 406 - Defines a field type and its formatters and widgets.
Code
function field_test_default_value($entity_type, $entity, $field, $instance) {
return array(array('value' => 99));
}