summaryrefslogtreecommitdiff
path: root/modules/file/file.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-11 16:49:40 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-11 16:49:40 +0000
commitef2c240086e5014db6bdd37c43a75f045bcd5504 (patch)
treea5cfc85ab30d66cc5326085dcec570467be43c72 /modules/file/file.module
parent47182dfb1f65d2a107037a1386d85e6997afcd04 (diff)
downloadbrdo-ef2c240086e5014db6bdd37c43a75f045bcd5504.tar.gz
brdo-ef2c240086e5014db6bdd37c43a75f045bcd5504.tar.bz2
- Patch #652834 by yched, effulgentsia: changed Field formatters as render arrays to increase performance (and to clean-up the code).
Diffstat (limited to 'modules/file/file.module')
-rw-r--r--modules/file/file.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/file/file.module b/modules/file/file.module
index 0768b1916..6b7ed6ad3 100644
--- a/modules/file/file.module
+++ b/modules/file/file.module
@@ -81,6 +81,9 @@ function file_theme() {
'file_widget_multiple' => array(
'render element' => 'element',
),
+ 'file_formatter_table' => array(
+ 'variables' => array('items' => NULL),
+ ),
'file_upload_help' => array(
'variables' => array('description' => NULL, 'upload_validators' => NULL),
),