You are here

public function link_views_handler_filter_protocol::option_definition in Link 7

Same name and namespace in other branches
  1. 6.2 views/link_views_handler_filter_protocol.inc \link_views_handler_filter_protocol::option_definition()

Set defaults for the filter options.

Overrides views_handler_filter_string::option_definition

File

views/link_views_handler_filter_protocol.inc, line 18
Contains filter handlers for protocol filters with views.

Class

link_views_handler_filter_protocol
Filter handler for limiting a view to URLs of a certain protocol.

Code

public function option_definition() {

  // @codingStandardsIgnoreEnd
  $options = parent::option_definition();
  $options['operator'] = 'OR';
  $options['value'] = 'http';
  $options['case'] = 0;
  return $options;
}