You are here

function file_display_save in File Entity (fieldable files) 7.3

Same name and namespace in other branches
  1. 7 file_entity.file_api.inc \file_display_save()
  2. 7.2 file_entity.file_api.inc \file_display_save()

Saves a {file_display} object to the database.

Related topics

1 call to file_display_save()
file_entity_file_display_form_submit in ./file_entity.admin.inc
Process file display settings form submissions.

File

./file_entity.file_api.inc, line 410
API extensions of Drupal core's file.inc.

Code

function file_display_save($display) {
  ctools_include('export');
  ctools_export_crud_save('file_display', $display);
  file_info_cache_clear();
}