function Filter::queryCondition
Applies the root condition to the given query.
Parameters
\Drupal\Core\Entity\Query\QueryInterface $query: The query for which the condition should be constructed.
Return value
\Drupal\Core\Entity\Query\ConditionInterface The compiled entity query condition.
File
-
core/
modules/ jsonapi/ src/ Query/ Filter.php, line 86
Class
- Filter
- Gathers information about the filter parameter.
Namespace
Drupal\jsonapi\QueryCode
public function queryCondition(QueryInterface $query) {
$condition = $this->buildGroup($query, $this->root());
return $condition;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.