You are here

public function CiviCrmApiInterface::getSingle in CiviCRM Entity 8.3

Get single from the CiviCRM entity.

Parameters

string $entity: The entity name.

array $params: Optional additional parameters.

Return value

array The array of values.

1 method overrides CiviCrmApiInterface::getSingle()
CiviCrmApi::getSingle in src/CiviCrmApi.php
Get single from the CiviCRM entity.

File

src/CiviCrmApiInterface.php, line 99

Class

CiviCrmApiInterface
The Drupal to CiviCRM API bridge.

Namespace

Drupal\civicrm_entity

Code

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