public function views_xml_backend_handler_filter_numeric::options_form in Views XML Backend 7
Same name and namespace in other branches
- 6 handlers/views_xml_backend_handler_filter_numeric.inc \views_xml_backend_handler_filter_numeric::options_form()
Provide the basic form which calls through to subforms.
If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
Overrides views_handler_filter::options_form
File
- handlers/
views_xml_backend_handler_filter_numeric.inc, line 26 - Contains views_xml_backend_handler_filter_numeric.
Class
- views_xml_backend_handler_filter_numeric
- Numeric filter handler for views_xml_backend.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['xpath_selector'] = array(
'#type' => 'textfield',
'#title' => 'XPath selector',
'#description' => t('The field name in the table that will be used as the filter.'),
'#default_value' => $this->options['xpath_selector'],
'#required' => TRUE,
);
}