You are here

function hosting_package_views_plugins in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 package/includes/views/hosting_package.views.inc \hosting_package_views_plugins()
  2. 7.3 package/includes/views/hosting_package.views.inc \hosting_package_views_plugins()

Implementation of hook_views_plugins

File

package/views/hosting_package.views.inc, line 248
Hosting package views integration.

Code

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