You are here

function tmgmt_smartling_theme in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8 tmgmt_smartling.module \tmgmt_smartling_theme()
  2. 8.2 tmgmt_smartling.module \tmgmt_smartling_theme()
  3. 8.3 tmgmt_smartling.module \tmgmt_smartling_theme()

Implements hook_theme().

File

./tmgmt_smartling.module, line 369
Contains

Code

function tmgmt_smartling_theme() {
  return [
    'smartling_dashboard_link' => [
      'variables' => [
        'proj_id' => '',
        'file_name' => '',
      ],
    ],
    'tmgmt_smartling_xml_template' => [
      'path' => drupal_get_path('module', 'tmgmt_smartling') . '/templates',
      'template' => 'tmgmt-smartling-xml-template',
      'variables' => [
        'items' => NULL,
      ],
    ],
  ];
}