function og_context_views_plugins in Organic groups 7.2
Same name and namespace in other branches
- 7 og_context/includes/og_context.views.inc \og_context_views_plugins()
Implements hook_views_plugins().
File
- og_context/
includes/ views/ og_context.views.inc, line 12 - Provides support for the Views module.
Code
function og_context_views_plugins() {
return array(
'argument default' => array(
'og_context' => array(
'title' => t('Current OG group from context'),
'handler' => 'og_context_plugin_argument_default_group_context',
'parent' => 'views_plugin_argument_default',
),
),
'access' => array(
'og_context' => array(
'title' => t('OG permission'),
'handler' => 'og_context_plugin_access_og_perm',
'uses options' => TRUE,
),
),
);
}