You are here

public function FieldUrlTest::viewsData in Drupal 10

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

File

core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php, line 26

Class

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

Namespace

Drupal\Tests\views\Kernel\Handler

Code

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