1.20.x contact.views.inc contact_views_data_alter(&$data)

Implements hook_views_data_alter().

File

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

Code

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',
    ),
  );
}