public function views_handler_filter_dynamic_fields::option_definition in Views Dynamic Fields 7
Defines handler options.
Overrides views_handler_filter::option_definition
File
- handlers/
views_handler_filter_dynamic_fields.inc, line 30 - Views dynamic fields filter handler.
Class
- views_handler_filter_dynamic_fields
- Simple filter to pick and choose the fields to show in the view.
Code
public function option_definition() {
$options = parent::option_definition();
// Fields to display in exposed filter.
$options['filterable_fields'] = array(
'default' => array(),
);
// Fields already displayed when user does no filtering.
// @see http://drupal.org/node/1039760
$options['defaults_filterable_fields'] = array(
'default' => array(),
);
// Choose between checkboxes or select.
// @see http://drupal.org/node/1039760
$options['checkboxes'] = array(
'default' => TRUE,
);
// Boolean to control display of Exclusion mode.
$options['reverse'] = array(
'default' => 0,
);
// Label for the Exclusion mode.
$options['reverse_label'] = array(
'default' => '',
);
// Custom description.
// @see http://drupal.org/node/1958930
$options['description'] = array(
'default' => '',
);
return $options;
}