You are here

function hosting_site_views_plugins in Hosting 6.2

Implementation of hook_views_plugins

File

site/views/hosting_site.views.inc, line 272
Hosting site views integration.

Code

function hosting_site_views_plugins() {
  $plugins = array(
    'access' => array(
      'parent' => array(
        'no ui' => TRUE,
        'handler' => 'views_plugin_access',
        'parent' => '',
      ),
      'site' => array(
        'title' => t('Hosting site'),
        'help' => t('Manage site access.'),
        'handler' => 'views_plugin_access_hosting_site',
        'path' => drupal_get_path('module', 'hosting_site') . '/views',
      ),
    ),
  );
  return $plugins;
}