privatemsg.views.inc

  1. 1 views/privatemsg.views.inc
  2. 7-1 views/privatemsg.views.inc
  3. 7-2 views/privatemsg.views.inc
  4. 6-2 views/privatemsg.views.inc

Provide views data and handlers for privatemsg.module

File

views/privatemsg.views.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Provide views data and handlers for privatemsg.module
  5. */
  6. /**
  7. * Implements hook_views_data().
  8. */
  9. function privatemsg_views_data() {
  10. $data['users']['privatemsg_link'] = array(
  11. 'group' => t('Privatemsg'),
  12. 'real field' => 'uid',
  13. 'title' => t('Send message'),
  14. 'field' => array(
  15. 'title' => t('Send Privatemsg link'),
  16. 'help' => t('Displays a link to send a private message to a user.'),
  17. 'handler' => 'views_handler_field_privatemsg_link',
  18. ),
  19. );
  20. return $data;
  21. }

Functions

Namesort descending Description
privatemsg_views_data Implements hook_views_data().