You are here

function uc_views_views_plugins in Ubercart Views 6.3

Implementation of hook_views_plugins().

File

views/uc_views.views.inc, line 981
Views 2 hooks and callback registries.

Code

function uc_views_views_plugins() {
  return array(
    'module' => 'uc_views',
    // This just tells our themes are elsewhere.
    'row' => array(
      'uc_views_invoice' => array(
        'title' => t('Invoice'),
        'help' => t('Display the order with standard invoice view.'),
        'handler' => 'uc_views_plugin_row_invoice_view',
        'path' => drupal_get_path('module', 'uc_views') . '/views',
        'theme' => 'uc_views_view_row_invoice',
        'theme path' => drupal_get_path('module', 'uc_views') . '/theme',
        'theme file' => 'theme.inc',
        'base' => array(
          'uc_orders',
        ),
        // only works with 'uc_orders' as base.

        //'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}