function file_theme
Same name in other branches
- 9 core/modules/file/file.module \file_theme()
- 8.9.x core/modules/file/file.module \file_theme()
- 10 core/modules/file/file.module \file_theme()
- 11.x core/modules/file/file.module \file_theme()
Implements hook_theme().
File
-
modules/
file/ file.module, line 88
Code
function file_theme() {
return array(
// file.module.
'file_link' => array(
'variables' => array(
'file' => NULL,
'icon_directory' => NULL,
),
),
'file_icon' => array(
'variables' => array(
'file' => NULL,
'icon_directory' => NULL,
'alt' => '',
),
),
'file_managed_file' => array(
'render element' => 'element',
),
// file.field.inc.
'file_widget' => array(
'render element' => 'element',
),
'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,
),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.