public function SearchApiViewsHandlerFilterNumeric::init in Search API 7
Provide some extra help to get the operator/value easier to use.
This likely has to be overridden by filters which are more complex than simple operator/value.
Overrides views_handler_filter::init
File
- contrib/
search_api_views/ includes/ handler_filter_numeric.inc, line 16 - Contains SearchApiViewsHandlerFilterNumeric.
Class
- SearchApiViewsHandlerFilterNumeric
- Views filter handler class for handling numeric and "string" fields.
Code
public function init(&$view, &$options) {
parent::init($view, $options);
$this
->normalizeValue();
}