You are here

function file_entity_test_entity_info_alter in D7 Media 7

Implements hook_entity_info_alter().

File

file_entity/tests/file_entity_test.module, line 95
File Entity Test

Code

function file_entity_test_entity_info_alter(&$entity_info) {
  $entity_info['file']['view modes']['file_entity_test_preview'] = array(
    'label' => t('Test Preview'),
    'custom settings' => TRUE,
  );
}