Functions to load and save information about file displays.
File
- modules/
file/ file.module, line 2135 - Defines a "managed_file" Form API field and a "file" field for Field module.
Functions
Name | Location | Description |
---|---|---|
file_display |
modules/ |
Returns an array containing a single display to use for a file type in a given view mode. |
file_display_load |
modules/ |
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. |
file_displays Deprecated |
modules/ |
Returns the display to use for a file type in a given view mode. |
file_display_save |
modules/ |
Saves a {file_display} array to config. |
file_displays_load Deprecated |
modules/ |
Returns a single {file_display} array for the file type. |