diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-23 22:24:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-23 22:24:19 +0000 |
commit | a7149821d61d00cfb62d5ab67cbc2a282d53d41a (patch) | |
tree | fa0022b756838f583c2641a84241de80fb177606 /modules/menu | |
parent | f2d90e99fb1107d78291ab2899f9fdb08bdfa979 (diff) | |
download | brdo-a7149821d61d00cfb62d5ab67cbc2a282d53d41a.tar.gz brdo-a7149821d61d00cfb62d5ab67cbc2a282d53d41a.tar.bz2 |
#600974 by effulgentsia, JohnAlbin, sun, and Damien Tournoud: Allow theme functions to take one argument without any hacks. NOTE: This is an API change in hook_theme().
Diffstat (limited to 'modules/menu')
-rw-r--r-- | modules/menu/menu.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 824954d61..aa9ae8bf4 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -159,11 +159,11 @@ function menu_theme() { return array( 'menu_overview_form' => array( 'file' => 'menu.admin.inc', - 'arguments' => array('form' => NULL), + 'render element' => 'form', ), 'menu_admin_overview' => array( 'file' => 'menu.admin.inc', - 'arguments' => array('title' => NULL, 'name' => NULL, 'description' => NULL), + 'variables' => array('title' => NULL, 'name' => NULL, 'description' => NULL), ), ); } |