1 file.module | file_display_load($file_type, $view_mode) |
Returns an array with a single value. The key is the formatter name, and the value is a {file_display} array for the file type.
Related topics
File
- core/
modules/ file/ file.module, line 2240 - Defines a "managed_file" Form API field and a "file" field for Field module.
Code
function file_display_load($file_type, $view_mode) {
$display = config_get('file_display.' . $file_type, $view_mode);
return $display;
}