You are here

function hosting_package_views_plugins in Hosting 7.4

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

Implements hook_views_plugins

File

package/includes/views/hosting_package.views.inc, line 220
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' => 'hosting_package_plugin_access',
        'path' => drupal_get_path('module', 'hosting_package') . '/includes/views',
      ),
    ),
  );
  return $plugins;
}