123456789101112131415161718192021222324 |
- <?php
- namespace Drupal\Core\Entity\Query;
- /**
- * Defines a common base class for all entity condition implementations.
- */
- abstract class ConditionBase extends ConditionFundamentals implements ConditionInterface {
- /**
- * {@inheritdoc}
- */
- public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL) {
- $this->conditions[] = [
- 'field' => $field,
- 'value' => $value,
- 'operator' => $operator,
- 'langcode' => $langcode,
- ];
- return $this;
- }
- }
|