You are here

function referral_views_data_alter in User Referral 7

Implements hook_views_data_alter().

File

views/referral.views.inc, line 314
Views integration for referral.module

Code

function referral_views_data_alter(&$data) {
  $data['users']['referral_link'] = array(
    'title' => t('Referral link'),
    'help' => t('The referral link that the user can give to others in order to refer them.'),
    'field' => array(
      'handler' => 'views_handler_field_referral_referral_link',
    ),
  );
}