You are here

function esign_field_widget_info in E-Sign 7

Implements hook_field_widget_info().

1 call to esign_field_widget_info()
esign_form_process in ./esign.module
Element processing from hook_element_info.

File

./esign.module, line 40
Defines all hooks and functions to manage the e-sign field.

Code

function esign_field_widget_info() {

  // Include the default settings, too!
  return array(
    'esign_signature_widget' => array(
      'label' => t('E-Signature'),
      'field types' => array(
        'esign_signature',
      ),
      'behaviors' => array(
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
      'settings' => array(
        'dotSize' => 1,
        'minWidth' => 0.5,
        'maxWidth' => 2.5,
        'backgroundColor' => 'rgba(0,0,0,0)',
        'penColor' => 'rgba(0,0,0,1)',
        'velocityFilterWeight' => 0.7,
        'toDataURL' => '',
        'hide_name' => FALSE,
        'hide_title' => FALSE,
      ),
    ),
  );
}