You are here

function og_context_views_api in Organic groups 7

Same name and namespace in other branches
  1. 7.2 og_context/og_context.module \og_context_views_api()

Implements hook_views_api().

File

og_context/og_context.module, line 141
Get a group from a viewed page.

Code

function og_context_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'og_context') . '/includes',
  );
}