You are here

function file_entity_test_preview_page in File Entity (fieldable files) 7

Page callback; preview a file.

1 string reference to 'file_entity_test_preview_page'
file_entity_test_menu in tests/file_entity_test.module
Implements hook_menu().

File

tests/file_entity_test.pages.inc, line 50
Test pages for the File Entity Test module.

Code

function file_entity_test_preview_page($file) {
  return file_view($file, 'file_entity_test_preview');
}