You are here

public function ConditionFundamentals::count in Drupal 8

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

File

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

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);
}