You are here

public function ConditionInterface::alwaysFalse in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::alwaysFalse()
  2. 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::alwaysFalse()

Sets a condition that is always false.

Return value

$this

2 methods override ConditionInterface::alwaysFalse()
Condition::alwaysFalse in core/lib/Drupal/Core/Database/Query/Condition.php
Sets a condition that is always false.
SelectExtender::alwaysFalse in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Sets a condition that is always false.

File

core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 140

Class

ConditionInterface
Interface for a conditional clause in a query.

Namespace

Drupal\Core\Database\Query

Code

public function alwaysFalse();