function views_handler_filter_numeric::option_definition

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

Overrides views_handler_filter::option_definition

1 call to views_handler_filter_numeric::option_definition()
views_handler_filter_date::option_definition in handlers/views_handler_filter_date.inc
Information about options for all kinds of purposes will be held here.
1 method overrides views_handler_filter_numeric::option_definition()
views_handler_filter_date::option_definition in handlers/views_handler_filter_date.inc
Information about options for all kinds of purposes will be held here.

File

handlers/views_handler_filter_numeric.inc, line 10

Class

views_handler_filter_numeric
Simple filter to handle greater than/less than filters

Code

function option_definition() {
    $options = parent::option_definition();
    $options['value'] = array(
        'contains' => array(
            'min' => array(
                'default' => '',
            ),
            'max' => array(
                'default' => '',
            ),
            'value' => array(
                'default' => '',
            ),
        ),
    );
    $options['allow_null'] = array(
        'default' => TRUE,
    );
    return $options;
}