
| Current Path : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Entity/Query/Null/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Entity/Query/Null/Condition.php |
<?php
namespace Drupal\Core\Entity\Query\Null;
use Drupal\Core\Entity\Query\ConditionBase;
/**
* Defines the condition class for the null entity query.
*/
class Condition extends ConditionBase {
/**
* {@inheritdoc}
*/
public function compile($query) {
}
/**
* {@inheritdoc}
*/
public function exists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NOT NULL', $langcode);
}
/**
* {@inheritdoc}
*/
public function notExists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NULL', $langcode);
}
}