| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/modip/modules/views/modules/ |
Upload File : |
<?php
//$Id: contact.views.inc,v 1.1 2009/06/01 21:55:36 merlinofchaos Exp $
/**
* @file
* Provide views data and handlers for contact.module
*/
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;
}
/**
* Implementation of hook_views_handlers() to register all of the basic handlers
* views uses.
*/
function contact_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'views') . '/modules/contact',
),
'handlers' => array(
'views_handler_field_contact_link' => array(
'parent' => 'views_handler_field_user_link',
),
),
);
}