You are here

function og_views_plugins in Organic groups 7.2

Same name and namespace in other branches
  1. 7 includes/og.views.inc \og_views_plugins()

Implements hook_views_plugins().

File

includes/views/og.views.inc, line 214
Provides support for the Views module.

Code

function og_views_plugins() {
  return array(
    'argument validator' => array(
      'og' => array(
        'title' => t('OG group'),
        'handler' => 'og_plugin_argument_validate_group',
        'path' => drupal_get_path('module', 'og') . '/includes/views/handlers',
      ),
    ),
    'argument default' => array(
      'og_user_groups' => array(
        'title' => t('The OG groups of the logged in user'),
        'handler' => 'og_plugin_argument_default_user_groups',
      ),
    ),
  );
}