function jquery_colorpicker_elements in Jquery Colorpicker 6.2
Same name and namespace in other branches
- 6 jquery_colorpicker.module \jquery_colorpicker_elements()
Implementation of hook_elements()
File
- ./
jquery_colorpicker.module, line 48
Code
function jquery_colorpicker_elements() {
// this is the definition for the new form API element
return array(
'colorpicker' => array(
'#input' => TRUE,
'#process' => array(
'jquery_colorpicker_process',
),
'#element_validate' => array(
'jquery_colorpicker_validate',
),
'#jquery_colorpicker_background' => 'select.png',
),
);
}