function signaturefield_webform_component_info in SignatureField 6
Same name and namespace in other branches
- 7.2 includes/webform.inc \signaturefield_webform_component_info()
 - 7 includes/webform.inc \signaturefield_webform_component_info()
 
Implements hook_webform_component()
File
- modules/
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' => 'modules/webform.inc',
  );
  return $components;
}