1 contact.views.inc contact_views_data_alter(&$data)

Implements hook_views_data_alter().

File

core/modules/contact/views/contact.views.inc, line 12
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',
    ),
  );
}