summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/modules/contact.views.inc
blob: 412d824dbb322ddce65d1eddf2522e5ae43c16d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

/**
 * @file
 * Provide views data and handlers for contact.module.
 *
 * @ingroup views_module_handlers
 */

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