You are here

function tmgmt_file_theme in Translation Management Tool 8

Same name and namespace in other branches
  1. 7 translators/file/tmgmt_file.module \tmgmt_file_theme()

Implements hook_theme().

File

translators/tmgmt_file/tmgmt_file.module, line 16
Module file of the translation management test module.

Code

function tmgmt_file_theme() {
  return array(
    'tmgmt_file_html_template' => array(
      'path' => drupal_get_path('module', 'tmgmt_file') . '/templates',
      'template' => 'tmgmt_file_html_template',
      'variables' => array(
        'tjid' => NULL,
        'source_language' => NULL,
        'target_language' => NULL,
        'items' => NULL,
      ),
    ),
  );
}