function ctools_entity_form_field_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_entity_form_field_content_type_content_type'
- entity_form_field.inc in plugins/
content_types/ form/ entity_form_field.inc
File
-
plugins/
content_types/ form/ entity_form_field.inc, line 21
Code
function ctools_entity_form_field_content_type_content_type($subtype) {
$types = ctools_entity_form_field_content_type_content_types();
if (isset($types[$subtype])) {
return $types[$subtype];
}
}