public function ConditionBase::count

Implements Countable::count().

Overrides ConditionInterface::count

File

drupal/core/lib/Drupal/Core/Entity/Query/ConditionBase.php, line 42
Definition of Drupal\Core\Entity\Query\ConditionBase.

Class

ConditionBase
Common code for all implementations of the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

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