You are here

public function views_xml_backend_handler_argument::options_form in Views XML Backend 7

Build the options form.

Overrides views_handler_argument::options_form

File

handlers/views_xml_backend_handler_argument.inc, line 26
Contains views_xml_backend_handler_argument.

Class

views_xml_backend_handler_argument
@file Contains views_xml_backend_handler_argument.

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