1 views_handler_field_file_extension.test ViewsHandlerFileExtensionTest::viewsData()

The views data definition.

Overrides ViewsSqlTest::viewsData

File

core/modules/views/tests/handlers/views_handler_field_file_extension.test, line 23
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;
}