You are here

public function CiviCrmApiInterface::save in CiviCRM Entity 8.3

Save and update an entity in CiviCRM.

Parameters

string $entity: The entity name.

array $params: The array of field values.

Return value

array The CiviCRM API response.

1 method overrides CiviCrmApiInterface::save()
CiviCrmApi::save in src/CiviCrmApi.php
Save and update an entity in CiviCRM.

File

src/CiviCrmApiInterface.php, line 47

Class

CiviCrmApiInterface
The Drupal to CiviCRM API bridge.

Namespace

Drupal\civicrm_entity

Code

public function save($entity, array $params);