function jquery_colorpicker_element_info in Jquery Colorpicker 7
Implements hook_elements().
File
- ./
jquery_colorpicker.module, line 60 - JQuery Colorpicker primary module file.
Code
function jquery_colorpicker_element_info() {
// This is the definition for the new form API element.
return array(
'jquery_colorpicker' => array(
'#input' => TRUE,
'#element_validate' => array(
'jquery_colorpicker_validate',
),
'#jquery_colorpicker_background' => 'select.png',
'#process' => array(
'ajax_process_form',
'jquery_colorpicker_process_element',
),
'#theme' => 'jquery_colorpicker',
'#theme_wrappers' => array(
'form_element',
),
),
);
}