function fraction_handler_field::option_definition in Fraction 7
@inheritdoc
Overrides views_handler_field::option_definition
File
- views/
handlers/ fraction_handler_field.inc, line 16 - Contains the Fraction Views field handler.
Class
- fraction_handler_field
- Field handler for Fraction database columns.
Code
function option_definition() {
$options = parent::option_definition();
// Default to automatic precision.
$options['precision'] = array(
'default' => 0,
);
$options['auto_precision'] = array(
'default' => TRUE,
'bool' => TRUE,
);
return $options;
}