function 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', ), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!contact!contact.views.inc/function/contact_views_data_alter/8.1.x