contact.views.inc 367 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

/**
 * @file
 * Provide views data for contact.module.
 */

/**
 * Implements hook_views_data_alter().
 */
function contact_views_data_alter(&$data) {
  $data['users']['contact'] = array(
    'field' => array(
      'title' => t('Contact link'),
      'help' => t('Provide a simple link to the user contact page.'),
      'id' => 'contact_link',
    ),
  );
}