1.15.x file.module file_displays_load($file_type, $view_mode)
1.14.x file.module file_displays_load($file_type, $view_mode)

Returns a single {file_display} array for the file type.

Deprecated

since 1.14.0.

Related topics

File

modules/file/file.module, line 2037
Defines a "managed_file" Form API field and a "file" field for Field module.

Code

function file_displays_load($file_type, $view_mode) {
  watchdog_deprecated_function('file', __FUNCTION__);
  return file_display_load($file_type, $view_mode);
}