You are here

function views_contextual_filters_or_search_api_query::option_definition in Views Contextual Filters OR 7

Defines the options used by this query plugin.

Adds some access options.

Overrides SearchApiViewsQuery::option_definition

File

plugins/views_contextual_filters_or_search_api_query.inc, line 12
Defines the alter query object.

Class

views_contextual_filters_or_search_api_query
Object used to create a SELECT query.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['contextual_filters_or'] = array(
    'default' => FALSE,
    'translatable' => FALSE,
    'bool' => TRUE,
  );
  return $options;
}