Version 1
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / entity_test.views.inc
1 <?php
2
3 /**
4  * @file
5  * Include file for test module.
6  */
7
8 /**
9  * Implements hook_views_data_alter().
10  */
11 function entity_test_views_data_alter(&$data) {
12   $data['entity_test']['name_alias'] = $data['entity_test']['name'];
13   $data['entity_test']['name_alias']['field']['real field'] = 'name';
14 }