You are here

function payment_views_default_views in Payment 7

Implements hook_views_default_views().

File

views/payment.views_default.inc, line 11
Default views.

Code

function payment_views_default_views() {
  $views = array();
  $view_payments = payment_view_payments();
  $views[$view_payments->name] = $view_payments;
  $view_payment_methods = payment_view_payment_methods();
  $views[$view_payment_methods->name] = $view_payment_methods;
  return $views;
}