You are here

function commerce_wishlist_views_plugins in Commerce Wishlist 7.2

Implements hook_views_plugins().

File

includes/views/commerce_wishlist.views.inc, line 170

Code

function commerce_wishlist_views_plugins() {
  $plugins = array();
  $plugins['access'] = array(
    'commerce_wishlist_item' => array(
      'title' => t('Wishlist access check'),
      'help' => t('Use this only for checking whether or not a user can access a wishlist.'),
      'handler' => 'commerce_wishlist_views_access_plugin',
      'path' => drupal_get_path('module', 'commerce_wishlist') . '/includes/views',
    ),
  );
  return $plugins;
}