diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-11 16:49:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-11 16:49:40 +0000 |
commit | ef2c240086e5014db6bdd37c43a75f045bcd5504 (patch) | |
tree | a5cfc85ab30d66cc5326085dcec570467be43c72 /modules/file/file.module | |
parent | 47182dfb1f65d2a107037a1386d85e6997afcd04 (diff) | |
download | brdo-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.module | 3 |
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), ), |