public function location_handler_argument_location_province::options_form in Location 7.3
Build the options form.
Overrides views_handler_argument::options_form
File
- handlers/
location_handler_argument_location_province.inc, line 24 - Argument handler to accept a province code or name.
Class
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
// Allow for , delimited values.
$form['break_phrase'] = array(
'#type' => 'checkbox',
'#title' => t('Allow multiple terms per argument.'),
'#description' => t('If selected, users can enter multiple arguments in the form of 1,2,3.'),
'#default_value' => !empty($this->options['break_phrase']),
);
}