ConditionAggregateBase.php in Drupal 10
File
core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php
View source
<?php
namespace Drupal\Core\Entity\Query;
abstract class ConditionAggregateBase extends ConditionFundamentals implements ConditionAggregateInterface {
public function condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL) {
$this->conditions[] = [
'field' => $field,
'function' => $function,
'value' => $value,
'operator' => $operator,
'langcode' => $langcode,
];
return $this;
}
}