You are here

function fraction_default_values in Fraction 7

1 string reference to 'fraction_default_values'
fraction_property_info_callback in ./fraction.field.inc
Callback to alter the property info of fraction fields.

File

./fraction.field.inc, line 43
Fraction Field API functions

Code

function fraction_default_values() {
  return array(
    'numerator' => 0,
    'denominator' => 100,
  );
}