public function ConditionAggregateInterface::condition
public ConditionAggregateInterface::condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL)
Adds a condition.
Parameters
string|ConditionAggregateInterface $field:
string $function:
mixed $value:
string $operator:
string $langcode:
Return value
\Drupal\Core\Entity\Query\ConditionAggregateInterface The called object.
See also
\Drupal\Core\Entity\Query\QueryInterface::condition()
File
- core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 31
Class
- ConditionAggregateInterface
- Defines aggregated entity query conditions.
Namespace
Drupal\Core\Entity\QueryCode
public function condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Query!ConditionAggregateInterface.php/function/ConditionAggregateInterface::condition/8.1.x