public function SearchApiViewsQuery::option_definition in Search API 7
Defines the options used by this query plugin.
Adds some access options.
Overrides views_object::option_definition
File
- contrib/
search_api_views/ includes/ query.inc, line 189 - Contains SearchApiViewsQuery.
Class
- SearchApiViewsQuery
- Views query class using a Search API index as the data source.
Code
public function option_definition() {
return parent::option_definition() + array(
'search_api_bypass_access' => array(
'default' => FALSE,
),
'entity_access' => array(
'default' => FALSE,
),
'parse_mode' => array(
'default' => 'terms',
),
'preserve_facet_query_args' => array(
'default' => FALSE,
'bool' => TRUE,
),
);
}