hosting_client.views.inc

Client module views integration.

Functions

Namesort descending Description
hosting_client_views_data Implements hook_views_data().

File

client/includes/views/hosting_client.views.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Client module views integration.
  5. */
  6. /**
  7. * Implements hook_views_data().
  8. */
  9. function hosting_client_views_data() {
  10. $data['hosting_client'] = array(
  11. 'table' => array(
  12. 'group' => 'Hosting Client',
  13. 'title' => 'Client',
  14. 'join' => array(
  15. 'node' => array(
  16. 'left_field' => 'vid',
  17. 'field' => 'vid',
  18. ),
  19. ),
  20. ),
  21. 'uname' => array(
  22. 'title' => t('Internal name'),
  23. 'help' => t('The internal name for this client.'),
  24. 'field' => array(
  25. 'handler' => 'views_handler_field',
  26. 'click sortable' => TRUE,
  27. ),
  28. ),
  29. );
  30. return $data;
  31. }