token_test.tokens.inc 243 B

12345678910111213
  1. <?php
  2. /**
  3. * Implements hook_token_info()
  4. */
  5. function token_test_token_info() {
  6. $info['tokens']['node']['colons:in:name'] = array(
  7. 'name' => t('A test token with colons in the name'),
  8. 'description' => NULL,
  9. );
  10. return $info;
  11. }