contact.views.inc in Views (for Drupal 7) 8.3
Same filename and directory in other branches
Provide views data and handlers for contact.module.
File
modules/contact.views.incView source
<?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.'),
'id' => 'contact_link',
),
);
}
Functions
Name | Description |
---|---|
contact_views_data_alter | Implements hook_views_data_alter(). |