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