aboutsummaryrefslogtreecommitdiff
path: root/muamba.views.inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-09 13:50:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-09 13:50:38 -0200
commit024bd20549c58317e8565e7772eec5630295d33c (patch)
tree710a454814efe6e6d64f23c173125aa0bd82a487 /muamba.views.inc
parent3bae0572ed01c0dfc80a4d52e3eb05b766a73649 (diff)
downloadmuamba-024bd20549c58317e8565e7772eec5630295d33c.tar.gz
muamba-024bd20549c58317e8565e7772eec5630295d33c.tar.bz2
Adding views_handler_field_muamba_total()
Diffstat (limited to 'muamba.views.inc')
-rw-r--r--muamba.views.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/muamba.views.inc b/muamba.views.inc
index a7c58c1..e8e433d 100644
--- a/muamba.views.inc
+++ b/muamba.views.inc
@@ -174,5 +174,15 @@ function muamba_views_data() {
),
);
+ // Total transactions.
+ $data['muamba']['total'] = array(
+ 'title' => t('Total'),
+ 'help' => t('Total item transactions.'),
+ 'field' => array(
+ 'help' => t('Display total transactions involving an item.'),
+ 'handler' => 'views_handler_field_muamba_total',
+ ),
+ );
+
return $data;
}