function views_handler_field_counter::options_form

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

Overrides views_handler_field::options_form

File

handlers/views_handler_field_counter.inc, line 15

Class

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

Code

function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);
    $form['counter_start'] = array(
        '#type' => 'textfield',
        '#title' => t('Starting value'),
        '#default_value' => $this->options['counter_start'],
        '#description' => t('Specify the number the counter should start at.'),
        
        //'#process' => array('views_process_dependency'),
'#size' => 2,
    );
}