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'
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];
}
}