You are here

function UtilsInterface::wf_civicrm_api in Webform CiviCRM Integration 8.5

Wrapper for all CiviCRM API calls For consistency, future-proofing, and error handling

Parameters

string $entity: API entity

string $operation: API operation

array $params: API params

Return value

array Result of API call

1 method overrides UtilsInterface::wf_civicrm_api()
Utils::wf_civicrm_api in src/Utils.php
Wrapper for all CiviCRM API calls For consistency, future-proofing, and error handling

File

src/UtilsInterface.php, line 246

Class

UtilsInterface

Namespace

Drupal\webform_civicrm

Code

function wf_civicrm_api($entity, $operation, $params);