function party_attached_entity_content_type_content_type in Party 8.2
Same name and namespace in other branches
- 7 plugins/content_types/attached_entity/attached_entity.inc \party_attached_entity_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 'party_attached_entity_content_type_content_type'
- attached_entity.inc in plugins/
content_types/ attached_entity/ attached_entity.inc - Plugin to handle attached entity content types
File
- plugins/
content_types/ attached_entity/ attached_entity.inc, line 25 - Plugin to handle attached entity content types
Code
function party_attached_entity_content_type_content_type($subtype) {
$types = party_attached_entity_content_type_content_types();
if (isset($types[$subtype])) {
return $types[$subtype];
}
}