Removing translation directories
[project/views.git] / modules / contact.views.inc
1 <?php
2 /**
3 * @file
4 * Provide views data and handlers for contact.module
5 */
6
7 function contact_views_data() {
8 $data['users']['contact'] = array(
9 'field' => array(
10 'title' => t('Link to contact page'),
11 'help' => t('Provide a simple link to the user contact page.'),
12 'handler' => 'views_handler_field_contact_link',
13 ),
14 );
15 return $data;
16 }
17 /**
18 * Implementation of hook_views_handlers() to register all of the basic handlers
19 * views uses.
20 */
21 function contact_views_handlers() {
22 return array(
23 'info' => array(
24 'path' => drupal_get_path('module', 'views') . '/modules/contact',
25 ),
26 'handlers' => array(
27 'views_handler_field_contact_link' => array(
28 'parent' => 'views_handler_field_user_link',
29 ),
30 ),
31 );
32 }