You are here

function tmgmt_local_theme in Translation Management Tool 8

Same name and namespace in other branches
  1. 7 translators/tmgmt_local/tmgmt_local.module \tmgmt_local_theme()

Implements hook_theme().

File

translators/tmgmt_local/tmgmt_local.module, line 67
Main module file for the local translation module.

Code

function tmgmt_local_theme() {
  return array(
    'tmgmt_local_translation_form' => array(
      'render element' => 'element',
      'file' => 'tmgmt_local.theme.inc',
    ),
    'tmgmt_local_translation_form_element' => array(
      'render element' => 'element',
      'file' => 'tmgmt_local.theme.inc',
    ),
    'tmgmt_local_translation_form_element_status' => array(
      'render element' => 'status',
      'file' => 'tmgmt_local.theme.inc',
    ),
    'tmgmt_local_progress_bar' => array(
      'variables' => array(
        'title' => NULL,
        'count_untranslated' => NULL,
        'count_translated' => NULL,
        'count_completed' => NULL,
        'width_untranslated' => NULL,
        'width_translated' => NULL,
        'width_completed' => NULL,
      ),
    ),
    'tmgmt_local_legend' => array(
      'variables' => array(
        'title' => NULL,
        'items' => NULL,
      ),
    ),
  );
}