function colorpicker_example_callback in Colorpicker 6
Same name and namespace in other branches
- 5 examples/colorpicker_example.module \colorpicker_example_callback()
- 6.2 examples/colorpicker_example.module \colorpicker_example_callback()
1 string reference to 'colorpicker_example_callback'
- colorpicker_example_menu in examples/
colorpicker_example.module
File
- examples/
colorpicker_example.module, line 32 - Example of a form that uses the colorpicker fields
Code
function colorpicker_example_callback() {
$output = '<p>' . t('This is an example of a color picker in use. Notice how each colorpicker_textfield has its own popup colorpicker.') . '</p>';
$output .= drupal_get_form('colorpicker_example_callback_form');
return $output;
}