You are here

function og_views_nodeapi in Organic groups 6

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

File

modules/og_views/og_views.module, line 151

Code

function og_views_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
  switch ($op) {
    case 'view':
      if (og_is_group_type($node->type) && !$teaser && $page) {
        og_views_view_group($node, $teaser, $page);
      }
      break;
  }
}