You are here

function track_da_files_theme in Track da files 7

Same name and namespace in other branches
  1. 8 track_da_files.module \track_da_files_theme()

Implements hook_theme().

File

./track_da_files.module, line 131
This file contains Track da files main functions.

Code

function track_da_files_theme() {
  $theme = array();

  // File field formatters.
  $theme['track_da_files_file_link'] = array(
    'variables' => array(
      'file' => NULL,
      'icon_directory' => NULL,
    ),
    'file' => 'includes/track_da_files_formatter.inc',
  );
  $theme['track_da_files_url_plain'] = array(
    'variables' => array(
      'file' => NULL,
    ),
    'file' => 'includes/track_da_files_formatter.inc',
  );
  $theme['track_da_files_file_formatter_table'] = array(
    'variables' => array(
      'items' => NULL,
    ),
    'file' => 'includes/track_da_files_formatter.inc',
  );
  return $theme;
}