You are here

function sheetnode_handler_field_cell::options_form in Sheetnode 7

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

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

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

Class

sheetnode_handler_field_cell
@file Views handler for sheetnode cells.

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.'),
  );
}