protected function HandlerTest::viewsData in Zircon Profile 8
Same name in this branch
- 8 core/modules/views_ui/src/Tests/HandlerTest.php \Drupal\views_ui\Tests\HandlerTest::viewsData()
- 8 core/modules/views/src/Tests/Handler/HandlerTest.php \Drupal\views\Tests\Handler\HandlerTest::viewsData()
Same name and namespace in other branches
- 8.0 core/modules/views_ui/src/Tests/HandlerTest.php \Drupal\views_ui\Tests\HandlerTest::viewsData()
Overrides \Drupal\views\Tests\ViewTestBase::viewsData().
Adds a relationship for the uid column.
Overrides ViewTestBase::viewsData
File
- core/
modules/ views_ui/ src/ Tests/ HandlerTest.php, line 70 - Contains \Drupal\views_ui\Tests\HandlerTest.
Class
- HandlerTest
- Tests handler UI for views.
Namespace
Drupal\views_ui\TestsCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['uid'] = array(
'title' => t('UID'),
'help' => t('The test data UID'),
'relationship' => array(
'id' => 'standard',
'base' => 'users_field_data',
'base field' => 'uid',
),
);
return $data;
}