You are here

function file_entity_test_view_page in File Entity (fieldable files) 7

Page callback; view a file.

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

File

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

Code

function file_entity_test_view_page($file) {
  return file_view($file, 'full');
}