1 file.module file_displays($file_type, $view_mode)

Returns the display to use for a file type in a given view mode.

Deprecated

since 1.14.0.

Related topics

File

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

Code

function file_displays($file_type, $view_mode) {
  watchdog_deprecated_function('file', __FUNCTION__);
  return file_display($file_type, $view_mode);
}