You are here

function product_price_alterer_field_views_handlers in Ubercart Discounts (Alternative) 7.2

Same name and namespace in other branches
  1. 6.2 product_price_alterer_field/product_price_alterer_field.views.inc \product_price_alterer_field_views_handlers()

Implementation of hook_views_handlers() Register all of the basic handlers views uses.

File

product_price_alterer_field/product_price_alterer_field.views.inc, line 12
Integrates product_price_alterer module with views module.

Code

function product_price_alterer_field_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'product_price_alterer_field') . '/includes',
    ),
    'handlers' => array(
      'discounted_price_handler' => array(
        'parent' => 'views_handler_field',
      ),
    ),
  );
}