function ContactComponentInterface::wf_crm_find_relations in Webform CiviCRM Integration 8.5
Get a contact's relations of certain types
Parameters
int cid: Contact id
array types: Array of relationship_type_ids
bool $current: Limit to current & enabled relations?
Return value
array
1 method overrides ContactComponentInterface::wf_crm_find_relations()
- ContactComponent::wf_crm_find_relations in src/
ContactComponent.php - Get a contact's relations of certain types
File
- src/
ContactComponentInterface.php, line 32
Class
Namespace
Drupal\webform_civicrmCode
function wf_crm_find_relations($cid, $types = [], $current = TRUE);