function views_handler_field_counter::option_definition

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

Overrides views_handler_field::option_definition

File

handlers/views_handler_field_counter.inc, line 9

Class

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

Code

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