contact.views.inc

  1. 3.x modules/contact.views.inc
  2. 2.x modules/contact.views.inc

Provide views data and handlers for contact.module.

File

modules/contact.views.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Provide views data and handlers for contact.module.
  5. *
  6. * @ingroup views_module_handlers
  7. */
  8. /**
  9. * Implements hook_views_data_alter().
  10. */
  11. function contact_views_data_alter(&$data) {
  12. $data['users']['contact'] = array(
  13. 'field' => array(
  14. 'title' => t('Link to contact page'),
  15. 'help' => t('Provide a simple link to the user contact page.'),
  16. 'handler' => 'views_handler_field_contact_link',
  17. ),
  18. );
  19. }

Related topics