You are here

public function ConditionFundamentals::count in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php \Drupal\Core\Entity\Query\ConditionFundamentals::count()
  2. 9 core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php \Drupal\Core\Entity\Query\ConditionFundamentals::count()

File

core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 69

Class

ConditionFundamentals
Common code for all implementations of the entity query condition interfaces.

Namespace

Drupal\Core\Entity\Query

Code

public function count() {
  return count($this->conditions);
}