File displays API in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 7.2 file_entity.file_api.inc \file_displays
Functions to load and save information about file displays.
File
- ./
file_entity.file_api.inc, line 313 - API extensions of Drupal core's file.inc.
Functions
Name | Location | Description |
---|---|---|
file_displays |
./ |
Returns an array of displays to use for a file type in a given view mode. |
file_displays_load |
./ |
Returns an array of {file_display} objects for the file type and view mode. |
file_display_new |
./ |
Creates a new {file_display} object. |
file_display_save |
./ |
Saves a {file_display} object to the database. |