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/profile | |
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/profile')
-rw-r--r-- | modules/profile/profile.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 6bef40933..be5c8392e 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -54,19 +54,19 @@ function profile_help($path, $arg) { function profile_theme() { return array( 'profile_block' => array( - 'arguments' => array('account' => NULL, 'fields' => array()), + 'variables' => array('account' => NULL, 'fields' => array()), 'template' => 'profile-block', ), 'profile_listing' => array( - 'arguments' => array('account' => NULL, 'fields' => array()), + 'variables' => array('account' => NULL, 'fields' => array()), 'template' => 'profile-listing', ), 'profile_wrapper' => array( - 'arguments' => array('content' => NULL), + 'variables' => array('content' => NULL), 'template' => 'profile-wrapper', ), 'profile_admin_overview' => array( - 'arguments' => array('form' => NULL), + 'render element' => 'form', 'file' => 'profile.admin.inc', ) ); |