function theme_apachesolr_commentsearch_breadcrumb_type in Apache Solr Search 6.2
Return the human readable text for a content type.
File
- contrib/
apachesolr_commentsearch/ apachesolr_commentsearch.module, line 162
Code
function theme_apachesolr_commentsearch_breadcrumb_type($field) {
$type = $field['#value'];
if ($type == 'comment') {
return t('Comment');
}
return node_get_types('name', $type);
}