function ctools_token_content_type_content_type

Just one subtype.

Ordinarily this function is meant to get just one subtype. However, we are using it to deal with the fact that we have changed the subtype names. This lets us translate the name properly.

1 string reference to 'ctools_token_content_type_content_type'
token.inc in plugins/content_types/token/token.inc
Plugin automatically declare 'tokens' as plugins.

File

plugins/content_types/token/token.inc, line 24

Code

function ctools_token_content_type_content_type($subtype) {
    $types = ctools_token_content_type_content_types();
    if (isset($types[$subtype])) {
        return $types[$subtype];
    }
}