You are here

function og_views_plugins in Organic groups 7

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

Implements hook_views_plugins

File

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

Code

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