You are here

function referral_views_default_views in User Referral 7

Implements hook_views_default_views().

File

views/referral.views_default.inc, line 13
Define default views for referral.module

Code

function referral_views_default_views() {
  $path = dirname(__FILE__) . '/default_views/';
  $views = array();

  // Add View
  require_once $path . 'referral_my_referrals.views_export.inc';
  $views[$view->name] = $view;
  return $views;
}