From 4b635f6d0a21e9a1358a6f9540ef72a55682738b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Mar 2007 18:30:14 +0000 Subject: - Patch #128081 by Eaton: remove #base, paving the path for a simpler form API. --- modules/path/path.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/path/path.module') 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', -- cgit v1.2.3