You are here

public function CiviCrmApiInterface::getCount in CiviCRM Entity 8.3

Get the count of entries for an entity.

Parameters

string $entity: The entity name.

array $params: The array of field values.

Return value

int The number of entities.

1 method overrides CiviCrmApiInterface::getCount()
CiviCrmApi::getCount in src/CiviCrmApi.php
Get the count of entries for an entity.

File

src/CiviCrmApiInterface.php, line 86

Class

CiviCrmApiInterface
The Drupal to CiviCRM API bridge.

Namespace

Drupal\civicrm_entity

Code

public function getCount($entity, array $params = []);