Implements hook_theme().
function tmgmt_file_theme() {
return array(
'tmgmt_file_html_template' => array(
'path' => \Drupal::service('extension.list.module')
->getPath('tmgmt_file') . '/templates',
'template' => 'tmgmt_file_html_template',
'variables' => array(
'tjid' => NULL,
'source_language' => NULL,
'target_language' => NULL,
'items' => NULL,
),
),
);
}