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