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

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
2016-10-29 08:56:33
Comments
Leave a Comment

Please login to continue.