You are here

function ViewsHandlerFileExtensionTest::viewsData in Views (for Drupal 7) 7.3

The views data definition.

Overrides ViewsSqlTest::viewsData

File

tests/handlers/views_handler_field_file_extension.test, line 30
Definition of ViewsHandlerFileExtensionTest.

Class

ViewsHandlerFileExtensionTest
Tests the views_handler_field_file_extension handler.

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test']['name']['field']['handler'] = 'views_handler_field_file_extension';
  $data['views_test']['name']['real field'] = 'name';
  return $data;
}