ConditionBase.php in Drupal 10
File
core/lib/Drupal/Core/Entity/Query/ConditionBase.php
View source
<?php
namespace Drupal\Core\Entity\Query;
abstract class ConditionBase extends ConditionFundamentals implements ConditionInterface {
public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL) {
$this->conditions[] = [
'field' => $field,
'value' => $value,
'operator' => $operator,
'langcode' => $langcode,
];
return $this;
}
}
Classes
Name |
Description |
ConditionBase |
Defines a common base class for all entity condition implementations. |