You are here

public function QueryConditionTrait::isNull in Zircon Profile 8

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

File

core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 39
Contains \Drupal\Core\Database\Query\QueryConditionTrait.

Class

QueryConditionTrait
Provides an implementation of ConditionInterface.

Namespace

Drupal\Core\Database\Query

Code

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