You are here

function theme_apachesolr_breadcrumb_im_og_gid in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 contrib/apachesolr_og/apachesolr_og.module \theme_apachesolr_breadcrumb_im_og_gid()

Theme the breadcrumb.

File

contrib/apachesolr_og/apachesolr_og.module, line 203
Integrates Organic Group info with Apache Solr search application.

Code

function theme_apachesolr_breadcrumb_im_og_gid($group_id) {
  if (!is_numeric($group_id)) {
    return t('No group');
  }
  return db_result(db_query("SELECT title FROM {node} WHERE nid = %d", $group_id));
}