public function views_xml_backend_handler_sort::options_form in Views XML Backend 7
Same name and namespace in other branches
- 6 handlers/views_xml_backend_handler_sort.inc \views_xml_backend_handler_sort::options_form()
Basic options for all sort criteria
Overrides views_handler_sort::options_form
File
- handlers/
views_xml_backend_handler_sort.inc, line 19 - Contains views_xml_backend_handler_sort.
Class
- views_xml_backend_handler_sort
- Base sort 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' => t('Field'),
'#description' => t('The field name in the table that will be used as the filter.'),
'#default_value' => $this->options['xpath_selector'],
'#required' => TRUE,
);
}