You are here

function contact_views_data_alter in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/contact/contact.views.inc \contact_views_data_alter()

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',
    ),
  );
}