You are here

public function CiviCrmApiInterface::getFields in CiviCRM Entity 8.3

Get fields from the CiviCRM entity.

Parameters

string $entity: The entity name.

string $action: The action.

Return value

array The array of field information.

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

File

src/CiviCrmApiInterface.php, line 60

Class

CiviCrmApiInterface
The Drupal to CiviCRM API bridge.

Namespace

Drupal\civicrm_entity

Code

public function getFields($entity, $action = 'create');