summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-04 05:39:14 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-04 05:39:14 +0000
commitb006ec6cb4f09aafb4282bdaae74be4d328973e5 (patch)
tree5f9ce7677f36829d670f4944c8f3392d22e1257a /modules/color
parent36adc757f92c4290f73725aea6aa90cdd461ddd4 (diff)
downloadbrdo-b006ec6cb4f09aafb4282bdaae74be4d328973e5.tar.gz
brdo-b006ec6cb4f09aafb4282bdaae74be4d328973e5.tar.bz2
#571086 follow-up by sun: Allow specifying a 'wrapper callback' before executing a form builder function.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 882d23cba..7f6f47b31 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -139,8 +139,7 @@ function color_get_palette($theme, $default = FALSE) {
/**
* Form callback. Returns the configuration form.
*/
-function color_scheme_form($form, &$form_state, $theme) {
- $form = array();
+function color_scheme_form($complete_form, &$form_state, $theme) {
$base = drupal_get_path('module', 'color');
$info = color_get_info($theme);