You are here

function UtilsInterface::wf_crm_name_field_exists in Webform CiviCRM Integration 8.5

Check if a name or email field exists for this contact. This determines whether a new contact can be created on the webform.

Parameters

$enabled: Array of enabled fields

$c: Contact #

$contact_type: Contact type

Return value

int

1 method overrides UtilsInterface::wf_crm_name_field_exists()
Utils::wf_crm_name_field_exists in src/Utils.php
Check if a name or email field exists for this contact. This determines whether a new contact can be created on the webform.

File

src/UtilsInterface.php, line 277

Class

UtilsInterface

Namespace

Drupal\webform_civicrm

Code

function wf_crm_name_field_exists($enabled, $c, $contact_type);