function ConditionInterface::alwaysFalse

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::alwaysFalse()
  2. 8.9.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::alwaysFalse()
  3. 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.