summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-03 09:44:50 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-03 09:44:50 +0000
commit75d2089fba73565caf48ec65e8b674f64a5a89e3 (patch)
tree6740d54fa6a8f0697029f96b364dca86ad85165f /modules/system
parent37b14043f1b39e70cc351ae81b9ffa0a417a3564 (diff)
downloadbrdo-75d2089fba73565caf48ec65e8b674f64a5a89e3.tar.gz
brdo-75d2089fba73565caf48ec65e8b674f64a5a89e3.tar.bz2
- Patch #39155 by Alex/chx: #validate, #submit, #process consistency
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index bebf6e876..60c6b750a 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -64,12 +64,12 @@ function system_elements() {
$type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE);
$type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64);
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);
- $type['radios'] = array('#input' => TRUE, '#process' => 'expand_radios');
+ $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array()));
$type['radio'] = array('#input' => TRUE);
- $type['checkboxes'] = array('#input' => TRUE, '#process' => 'expand_checkboxes', '#tree' => TRUE);
+ $type['checkboxes'] = array('#input' => TRUE, '#process' => array('expand_checkboxes' => array()), '#tree' => TRUE);
$type['select'] = array('#input' => TRUE);
$type['weight'] = array('#input' => TRUE, '#delta' => 10);
- $type['date'] = array('#input' => TRUE, '#process' => 'expand_date');
+ $type['date'] = array('#input' => TRUE, '#process' => array('expand_date' => array()));
$type['file'] = array('#input' => TRUE, '#size' => 60);
// Form structure