You are here

function token_theme in Token 6

Same name and namespace in other branches
  1. 8 token.module \token_theme()
  2. 7 token.module \token_theme()

Implements hook_theme().

File

./token.module, line 78
The Token API module.

Code

function token_theme() {
  return array(
    'token_help' => array(
      'arguments' => array(
        'type' => 'all',
        'prefix' => TOKEN_PREFIX,
        'suffix' => TOKEN_SUFFIX,
      ),
      'file' => 'token.pages.inc',
    ),
    'token_tree' => array(
      'arguments' => array(
        'token_types' => array(),
        'global_types' => TRUE,
        'click_insert' => TRUE,
      ),
      'file' => 'token.pages.inc',
    ),
  );
}