1.20.x views_module.test public ViewsModuleTest::viewsData()

The views data definition.

Overrides ViewsSqlTest::viewsData

File

modules/views/tests/views_module.test, line 19
Definition of ViewsModuleTest.

Class

ViewsModuleTest
Tests basic functions from the Views module.

Code

public function viewsData() {
  $data = parent::viewsData();
  $data['views_test_previous'] = array();
  $data['views_test_previous']['id']['field']['moved to'] = array('views_test', 'id');
  $data['views_test_previous']['id']['filter']['moved to'] = array('views_test', 'id');
  $data['views_test']['age_previous']['field']['moved to'] = array('views_test', 'age');
  $data['views_test']['age_previous']['sort']['moved to'] = array('views_test', 'age');
  $data['views_test_previous']['name_previous']['field']['moved to'] = array('views_test', 'name');
  $data['views_test_previous']['name_previous']['argument']['moved to'] = array('views_test', 'name');

  return $data;
}