You are here

public function CiviCrmApiInterface::get in CiviCRM Entity 8.3

Get an entity from CiviCRM.

Parameters

string $entity: The entity name.

array $params: Optional additional parameters.

Return value

array The entity data.

1 method overrides CiviCrmApiInterface::get()
CiviCrmApi::get in src/CiviCrmApi.php
Get an entity from CiviCRM.

File

src/CiviCrmApiInterface.php, line 21

Class

CiviCrmApiInterface
The Drupal to CiviCRM API bridge.

Namespace

Drupal\civicrm_entity

Code

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