function views_handler_field_counter::option_definition

Overrides views_handler_field::option_definition

File

handlers/views_handler_field_counter.inc, line 18

Class

views_handler_field_counter
Field handler to show a counter of the current row.

Code

public function option_definition() {
    $options = parent::option_definition();
    $options['counter_start'] = array(
        'default' => 1,
    );
    $options['reverse'] = array(
        'default' => FALSE,
    );
    return $options;
}