You are here

function webform_civicrm_webform_component_info in Webform CiviCRM Integration 7.5

Same name and namespace in other branches
  1. 7.3 webform_civicrm.module \webform_civicrm_webform_component_info()
  2. 7.4 webform_civicrm.module \webform_civicrm_webform_component_info()

Implements hook_webform_component_info().

Return value

array

File

./webform_civicrm.module, line 234
Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts

Code

function webform_civicrm_webform_component_info() {
  return [
    'civicrm_contact' => [
      'label' => t('CiviCRM Contact'),
      'description' => t('Choose existing contact.'),
      'features' => [
        'email_name' => TRUE,
      ],
      'file' => 'includes/contact_component.inc',
    ],
  ];
}