You are here

function signaturefield_webform_component_info in SignatureField 7

Same name and namespace in other branches
  1. 6 modules/webform.inc \signaturefield_webform_component_info()
  2. 7.2 includes/webform.inc \signaturefield_webform_component_info()

Implements hook_webform_component().

File

includes/webform.inc, line 10
Webform module integration.

Code

function signaturefield_webform_component_info() {
  $components = array();
  $components['signaturefield'] = array(
    'label' => t('Signature'),
    'description' => t('Signature Pad signature field.'),
    'features' => array(
      'csv' => FALSE,
      'email' => TRUE,
      'email_address' => FALSE,
      'email_name' => FALSE,
      'required' => TRUE,
      // If this field can be used as a conditional SOURCE. All fields may
      // always be displayed conditionally, regardless of this setting.
      // Defaults to TRUE.
      'conditional' => TRUE,
      'group' => FALSE,
      'attachment' => TRUE,
    ),
    'file' => 'includes/webform.inc',
  );
  return $components;
}