function commerce_order_views_data in Commerce Core 8.2
Same name and namespace in other branches
- 7 modules/order/includes/views/commerce_order.views.inc \commerce_order_views_data()
Implements hook_views_data().
File
- modules/
order/ commerce_order.views.inc, line 11 - Provide views data for the Order module.
Code
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;
}