You are here

function spaces_views_plugins in Spaces 6.3

Same name and namespace in other branches
  1. 6 includes/spaces.views.inc \spaces_views_plugins()
  2. 6.2 includes/spaces.views.inc \spaces_views_plugins()
  3. 7.3 includes/spaces.views.inc \spaces_views_plugins()
  4. 7 includes/spaces.views.inc \spaces_views_plugins()

Implementation of 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,
      ),
    ),
  );
}