You are here

public function ConditionGroup::isAlwaysFalse in Entity API 8

Gets whether the condition group is always FALSE.

Used when the user doesn't have access to any entities, to ensure that a query returns no results.

Return value

bool Whether the condition group is always FALSE.

File

src/QueryAccess/ConditionGroup.php, line 137

Class

ConditionGroup
Represents a group of query access conditions.

Namespace

Drupal\entity\QueryAccess

Code

public function isAlwaysFalse() {
  return $this->alwaysFalse;
}