You are here

referral.views_default.inc in User Referral 7

Define default views for referral.module

@author Ahmad Hejazee <mngafa@gmail.com>

File

views/referral.views_default.inc
View source
<?php

/**
 * @file
 * Define default views for referral.module
 *
 * @author Ahmad Hejazee <mngafa@gmail.com>
 */

/**
 * Implements hook_views_default_views().
 */
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;
}

Functions