You are here

public function QueryConditionTrait::isNull in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php \Drupal\Core\Database\Query\QueryConditionTrait::isNull()
  2. 10 core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php \Drupal\Core\Database\Query\QueryConditionTrait::isNull()

File

core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 34

Class

QueryConditionTrait
Provides an implementation of ConditionInterface.

Namespace

Drupal\Core\Database\Query

Code

public function isNull($field) {
  $this->condition
    ->isNull($field);
  return $this;
}