You are here

function sheetnode_handler_field_cell::options_form in Sheetnode 7.2

Same name and namespace in other branches
  1. 6 views/sheetnode_handler_field_cell.inc \sheetnode_handler_field_cell::options_form()
  2. 7 views/sheetnode_handler_field_cell.inc \sheetnode_handler_field_cell::options_form()

Set options form for views handler.

Overrides views_handler_field::options_form

File

views/sheetnode_handler_field_cell.inc, line 25
Views handler for sheetnode cells.

Class

sheetnode_handler_field_cell
Provides a custom sheetnode handler.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['reference'] = array(
    '#type' => 'textfield',
    '#title' => t('Cell reference'),
    '#default_value' => $this->options['reference'],
    '#description' => t('Use a cell coordinate such as A1 to refer to a specific cell.'),
  );
}