function FieldFileSizeTest::viewsData

Returns the views data definition.

Overrides ViewUnitTestBase::viewsData

File

drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldFileSizeTest.php, line 44
Definition of Drupal\views\Tests\Handler\FieldFileSizeTest.

Class

FieldFileSizeTest
Tests the core Drupal\views\Plugin\views\field\FileSize handler.

Namespace

Drupal\views\Tests\Handler

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['age']['field']['id'] = 'file_size';
  return $data;
}