You are here

function token_module_test_token_info in Token 8

Implements hook_token_info()

File

tests/modules/token_module_test/token_module_test.tokens.inc, line 6

Code

function token_module_test_token_info() {
  $info['tokens']['node']['colons:in:name'] = [
    'name' => t('A test token with colons in the name'),
    'description' => NULL,
  ];
  return $info;
}