function views_handler_field_math::option_definition

Same name in other branches
  1. 7.x-3.x handlers/views_handler_field_math.inc \views_handler_field_math::option_definition()

Overrides views_handler_field_numeric::option_definition

File

handlers/views_handler_field_math.inc, line 12

Class

views_handler_field_math
Render a mathematical expression as a numeric value

Code

function option_definition() {
    $options = parent::option_definition();
    $options['expression'] = array(
        'default' => '',
    );
    return $options;
}