function jquery_colorpicker_element_info

cis7 jquery_colorpicker.module jquery_colorpicker_element_info()
cle7 jquery_colorpicker.module jquery_colorpicker_element_info()
elmsmedia7 jquery_colorpicker.module jquery_colorpicker_element_info()
icor7 jquery_colorpicker.module jquery_colorpicker_element_info()
meedjum_blog7 jquery_colorpicker.module jquery_colorpicker_element_info()
mooc7 jquery_colorpicker.module jquery_colorpicker_element_info()

Implements hook_elements().

File

sites/all/modules/ulmus/jquery_colorpicker/jquery_colorpicker.module, line 38
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',
      '#theme' => 'jquery_colorpicker',
    ),
  );
}