function ctools_entity_field_extra_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 call to ctools_entity_field_extra_content_type_content_type()
ctools_entity_field_extra_content_type_admin_title in plugins/content_types/entity_context/entity_field_extra.inc
1 string reference to 'ctools_entity_field_extra_content_type_content_type'
entity_field_extra.inc in plugins/content_types/entity_context/entity_field_extra.inc

File

plugins/content_types/entity_context/entity_field_extra.inc, line 20

Code

function ctools_entity_field_extra_content_type_content_type($subtype) {
    $types = ctools_entity_field_extra_content_type_content_types();
    if (isset($types[$subtype])) {
        return $types[$subtype];
    }
}