You are here

function og_views_og_links_alter in Organic groups 6

Same name and namespace in other branches
  1. 6.2 modules/og_views/og_views.module \og_views_og_links_alter()

File

modules/og_views/og_views.module, line 144

Code

function og_views_og_links_alter(&$links, $node) {
  if (isset($links['subscribers'])) {
    $txt = strip_tags($links['subscribers']);
    $links['subscribers'] = og_is_picture() ? l($txt, "og/users/{$node->nid}/faces") : l($txt, "og/users/{$node->nid}");
  }
}