diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-17 18:30:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-17 18:30:14 +0000 |
commit | 4b635f6d0a21e9a1358a6f9540ef72a55682738b (patch) | |
tree | 2b789c7c25f3670f676c8e029249582497e3c060 /modules/path | |
parent | f6929dcca0870e6d38654a126fe4f6c422cd9936 (diff) | |
download | brdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.gz brdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.bz2 |
- Patch #128081 by Eaton: remove #base, paving the path for a simpler form API.
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index e3d7932f1..ba70970e5 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -183,7 +183,9 @@ function path_set_alias($path = NULL, $alias = NULL, $pid = NULL) { * Return a form for editing or creating an individual URL alias. */ function path_form($edit = '') { - $form['#base'] = 'path_form'; + $form['#submit']['path_form_submit'] = array(); + $form['#validate']['path_form_validate'] = array(); + $form['#theme'] = 'path_form'; $form['src'] = array( '#type' => 'textfield', |