You are here

function sheetnode_handler_field_range::option_definition in Sheetnode 7.2

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

Set field options definition.

Overrides views_handler_field::option_definition

File

views/sheetnode_handler_field_range.inc, line 16
Views handler for sheetnode ranges.

Class

sheetnode_handler_field_range
Provides a custom sheetnode ranges handler.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['reference'] = array(
    'default' => '',
  );
  $options['labels'] = array(
    'default' => SHEETNODE_RANGE_LABELS_ROW_COL,
  );
  $options['raw'] = array(
    'default' => FALSE,
  );
  return $options;
}