materio-base-legacy/modules/contact.views.inc
bachy b20b38f514 first import
Signed-off-by: bachy <git@g-u-i.net>
2013-01-09 10:53:26 +01:00

22 lines
450 B
PHP

<?php
/**
* @file
* Provide views data and handlers for contact.module.
*
* @ingroup views_module_handlers
*/
/**
* Implements hook_views_data_alter().
*/
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',
),
);
}