function FieldCustomTest::viewsData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Handler/FieldCustomTest.php \Drupal\views\Tests\Handler\FieldCustomTest::viewsData()
Returns the views data definition.
Overrides ViewKernelTestBase::viewsData
File
- core/
modules/ views/ src/ Tests/ Handler/ FieldCustomTest.php, line 33 - Contains \Drupal\views\Tests\Handler\FieldCustomTest.
Class
- FieldCustomTest
- Tests the core Drupal\views\Plugin\views\field\Custom handler.
Namespace
Drupal\views\Tests\HandlerCode
function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['name']['field']['id'] = 'custom';
return $data;
}