You are here

function contact_views_data in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/contact.views.inc \contact_views_data()

@file Provide views data and handlers for contact.module

File

modules/contact.views.inc, line 7
Provide views data and handlers for contact.module

Code

function contact_views_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',
    ),
  );
  return $data;
}