function FieldDateTest::viewsData

Returns the views data definition.

Overrides ViewUnitTestBase::viewsData

File

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

Class

FieldDateTest
Tests the core Drupal\views\Plugin\views\field\Date handler.

Namespace

Drupal\views\Tests\Handler

Code

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