public function FieldUrlTest::viewsData in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php \Drupal\Tests\views\Kernel\Handler\FieldUrlTest::viewsData()
- 10 core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php \Drupal\Tests\views\Kernel\Handler\FieldUrlTest::viewsData()
Returns the views data definition.
Overrides ViewsKernelTestBase::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\HandlerCode
public function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['name']['field']['id'] = 'url';
return $data;
}