You are here

function custom_formatters_engine_token_theme_alter in Custom Formatters 7.2

Theme alter for 'HTML + Token' engine.

Parameters

array $theme: A keyed array as expected by hook_theme().

File

engines/token.inc, line 14
Token engine for Custom Formatters modules.

Code

function custom_formatters_engine_token_theme_alter(&$theme) {
  $theme['custom_formatters_token_export'] = array(
    'variables' => array(
      'item' => NULL,
      'module' => NULL,
    ),
    'template' => 'token.export',
    'path' => drupal_get_path('module', 'custom_formatters') . '/engines',
  );
}