function ViewsModuleTest::viewsData
Overrides ViewsSqlTest::viewsData
1 call to ViewsModuleTest::viewsData()
- ViewsModuleTest::testViewsGetHandler in tests/
views_module.test - Tests views_get_handler().
File
-
tests/
views_module.test, line 36
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;
}