You are here

function token_type_load in Token 7

File

./token.module, line 148
Enhances the token API in core: adds a browseable UI, missing tokens, etc.

Code

function token_type_load($token_type) {
  $info = token_get_info();
  return isset($info['types'][$token_type]) ? $info['types'][$token_type] : FALSE;
}