public function SearchApiQuery::getWhere in Search API 8
Retrieves the conditions placed on this query.
Return value
array The conditions placed on this query, separated by groups, as an associative array with a structure like this:
- GROUP_ID:
- type: "AND"/"OR"
- conditions:
- [FILTER, VALUE, OPERATOR]
- [FILTER, VALUE, OPERATOR]
…
- condition_groups:
- ConditionGroupInterface object
- ConditionGroupInterface object
…
- GROUP_ID: …
Returned by reference.
File
- src/
Plugin/ views/ query/ SearchApiQuery.php, line 778
Class
- SearchApiQuery
- Defines a Views query class for searching on Search API indexes.
Namespace
Drupal\search_api\Plugin\views\queryCode
public function &getWhere() {
return $this->where;
}