function file_entity_theme

cis7 file_entity.module file_entity_theme()
cle7 file_entity.module file_entity_theme()
elmsmedia7 file_entity.module file_entity_theme()
icor7 file_entity.module file_entity_theme()
meedjum_blog7 file_entity.module file_entity_theme()
mooc7 file_entity.module file_entity_theme()

Implements hook_theme().

File

sites/all/modules/ulmus/file_entity/file_entity.module, line 837
Extends Drupal file entities to be fieldable and viewable.

Code

function file_entity_theme() {
  return array(
    'file_entity' => array(
      'render element' => 'elements',
      'template' => 'file_entity',
    ),
    'file_entity_search_admin' => array(
      'render element' => 'form',
    ),
    'file_entity_file_type_overview' => array(
      'variables' => array(
        'label' => NULL,
        'description' => NULL,
      ),
      'file' => 'file_entity.admin.inc',
    ),
    'file_entity_file_display_order' => array(
      'render element' => 'element',
      'file' => 'file_entity.admin.inc',
    ),
    'file_entity_file_link' => array(
      'variables' => array(
        'file' => NULL,
        'icon_directory' => NULL,
      ),
      'file' => 'file_entity.theme.inc',
    ),
    'file_entity_download_link' => array(
      'variables' => array(
        'file' => NULL,
        'icon_directory' => NULL,
        'text' => NULL,
      ),
      'file' => 'file_entity.theme.inc',
    ),
    'file_entity_file_audio' => array(
      'variables' => array(
        'files' => array(),
        'controls' => TRUE,
        'autoplay' => FALSE,
        'loop' => FALSE,
      ),
      'file' => 'file_entity.theme.inc',
    ),
    'file_entity_file_video' => array(
      'variables' => array(
        'files' => array(),
        'controls' => TRUE,
        'autoplay' => FALSE,
        'loop' => FALSE,
        'muted' => FALSE,
        'width' => NULL,
        'height' => NULL,
      ),
      'file' => 'file_entity.theme.inc',
    ),
  );
}