public function CiviCrmApi::__construct in CiviCRM Entity 8.3
Constructs a new CiviCrmApi object.
Parameters
\Drupal\civicrm\Civicrm $civicrm: The CiviCRM service.
File
- src/
CiviCrmApi.php, line 25
Class
- CiviCrmApi
- CiviCRM API implementation.
Namespace
Drupal\civicrm_entityCode
public function __construct(Civicrm $civicrm) {
$this->civicrm = $civicrm;
}