commerce_billy_pdf.views.inc in Commerce Billy 7
Views integration for Commerce Billy PDF.
File
modules/commerce_billy_pdf/includes/views/commerce_billy_pdf.views.incView source
<?php
/**
* @file
* Views integration for Commerce Billy PDF.
*/
/**
* Implements hook_views_data_alter().
*/
function commerce_billy_pdf_views_data_alter(&$data) {
$data['views_entity_commerce_order']['commerce_billy_pdf_invoice_link'] = array(
'field' => array(
'title' => t('Invoice PDF'),
'handler' => 'commerce_billy_pdf_field_handler',
'help' => t('Link to invoice PDF file.'),
),
);
}
Functions
Name | Description |
---|---|
commerce_billy_pdf_views_data_alter | Implements hook_views_data_alter(). |