function spaces_views_plugins in Spaces 7
Same name and namespace in other branches
- 6.3 includes/spaces.views.inc \spaces_views_plugins()
- 6 includes/spaces.views.inc \spaces_views_plugins()
- 6.2 includes/spaces.views.inc \spaces_views_plugins()
- 7.3 includes/spaces.views.inc \spaces_views_plugins()
Implements hook_views_plugins().
File
- includes/
spaces.views.inc, line 6
Code
function spaces_views_plugins() {
return array(
'module' => 'spaces',
'access' => array(
'spaces_feature' => array(
'title' => t('Spaces feature'),
'help' => t('Access will be granted if the given feature is enabled in the current space.'),
'handler' => 'spaces_plugin_access_spaces_feature',
'path' => drupal_get_path('module', 'spaces') . '/includes',
'uses options' => TRUE,
),
),
);
}