summaryrefslogtreecommitdiff
path: root/modules/field_ui/field_ui.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-23 22:24:19 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-23 22:24:19 +0000
commita7149821d61d00cfb62d5ab67cbc2a282d53d41a (patch)
treefa0022b756838f583c2641a84241de80fb177606 /modules/field_ui/field_ui.module
parentf2d90e99fb1107d78291ab2899f9fdb08bdfa979 (diff)
downloadbrdo-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/field_ui/field_ui.module')
-rw-r--r--modules/field_ui/field_ui.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field_ui/field_ui.module b/modules/field_ui/field_ui.module
index 99dd8c057..2710acf9b 100644
--- a/modules/field_ui/field_ui.module
+++ b/modules/field_ui/field_ui.module
@@ -154,12 +154,12 @@ function field_ui_menu_label($instance) {
function field_ui_theme() {
return array(
'field_ui_field_overview_form' => array(
- 'arguments' => array('form' => NULL),
+ 'render element' => 'form',
'file' => 'field_ui.admin.inc',
'template' => 'field_ui-field-overview-form',
),
'field_ui_display_overview_form' => array(
- 'arguments' => array('form' => NULL),
+ 'render element' => 'form',
'file' => 'field_ui.admin.inc',
'template' => 'field_ui-display-overview-form',
),