commerce_order.views.inc in Commerce Core 8.2
Provide views data for the Order module.
File
modules/order/commerce_order.views.incView source
<?php
/**
* @file
* Provide views data for the Order module.
*/
/**
* Implements hook_views_data().
*/
function commerce_order_views_data() {
$data['views']['commerce_order_total'] = [
'title' => t('Order total'),
'help' => t('Displays the order total field, requires an Order ID argument.'),
'area' => [
'id' => 'commerce_order_total',
],
];
return $data;
}
Functions
Name | Description |
---|---|
commerce_order_views_data | Implements hook_views_data(). |