function views_handler_weight_selector::options_form in Weight 7.3
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- views/
views_handler_weight_selector.inc, line 21
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['weight_range'] = array(
'#type' => 'textfield',
'#title' => t('Range'),
'#description' => t('The range of weights available to select. For
example, a range of 20 will allow you to select a weight between -20
and 20.'),
'#default_value' => $this->options['weight_range'],
'#size' => 5,
);
}