4 * Provide views data and handlers for contact.module
7 function contact_views_data() {
8 $data['users']['contact'] = 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',
18 * Implementation of hook_views_handlers() to register all of the basic handlers
21 function contact_views_handlers() {
24 'path' => drupal_get_path('module', 'views') .
'/modules/contact',
27 'views_handler_field_contact_link' => array(
28 'parent' => 'views_handler_field_user_link',