You are here

function file_entity_test_preview_page in D7 Media 7

Page callback; preview a file.

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

File

file_entity/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');
}