You are here

contact.views.inc in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/contact/contact.views.inc

Provide views data for contact.module.

File

core/modules/contact/contact.views.inc
View source
<?php

/**
 * @file
 * Provide views data for contact.module.
 */

/**
 * Implements hook_views_data_alter().
 */
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',
    ),
  );
}

Functions