public function SearchApiViewsHandlerArgumentMoreLikeThis::option_definition in Search API 7
Specify the options this filter uses.
Overrides SearchApiViewsHandlerArgument::option_definition
File
- contrib/
search_api_views/ includes/ handler_argument_more_like_this.inc, line 17 - Contains SearchApiViewsHandlerArgumentMoreLikeThis.
Class
- SearchApiViewsHandlerArgumentMoreLikeThis
- Views argument handler providing a list of related items for search servers supporting the "search_api_mlt" feature.
Code
public function option_definition() {
$options = parent::option_definition();
$options['entity_type'] = array(
'default' => FALSE,
);
$options['fields'] = array(
'default' => array(),
);
return $options;
}