You are here

function FieldUrlTest::viewsData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Handler/FieldUrlTest.php \Drupal\views\Tests\Handler\FieldUrlTest::viewsData()

Returns the views data definition.

Overrides ViewKernelTestBase::viewsData

File

core/modules/views/src/Tests/Handler/FieldUrlTest.php, line 35
Contains \Drupal\views\Tests\Handler\FieldUrlTest.

Class

FieldUrlTest
Tests the core Drupal\views\Plugin\views\field\Url handler.

Namespace

Drupal\views\Tests\Handler

Code

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