You are here

function global_filter_plugin_argument_default_global_filter_field::options_form in Views Global Filter 7

Build the option form.

Overrides views_plugin_argument_default::options_form

File

views/global_filter_plugin_argument_default_global_filter_field.inc, line 31
Contains the Global Filter default argument plugin (field).

Class

global_filter_plugin_argument_default_global_filter_field
Default argument plugin to extract the global filter value set for this contextual filter.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['break_phrase_and'] = array(
    '#type' => 'checkbox',
    '#title' => t('Process multiple filter values in <em>all of</em> (AND) rather than <em>one of</em> (OR) mode.'),
    '#description' => t('Applies only when <strong>Allow multiple values</strong> is ticked in the <strong>More</strong> fieldset below.'),
    '#default_value' => !empty($this->options['break_phrase_and']),
  );
}