contact_views_data_alter

contact_views_data_alter(&$data)

Implements hook_views_data_alter().

File

core/modules/contact/contact.views.inc, line 11
Provide views data for contact.module.

Code

1
2
3
4
5
6
7
8
9
function contact_views_data_alter(&$data) {
  $data['users']['contact'] = array(
    'field' => array(
      'title' => t('Contact link'),
      'help' => t('Provide a simple link to the user contact page.'),
      'id' => 'contact_link',
    ),
  );
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.