function ViewsFormMultipleTest::viewsData
Same name in other branches
- 8.9.x core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php \Drupal\Tests\views\Functional\ViewsFormMultipleTest::viewsData()
- 10 core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php \Drupal\Tests\views\Functional\ViewsFormMultipleTest::viewsData()
- 11.x core/modules/views/tests/src/Functional/ViewsFormMultipleTest.php \Drupal\Tests\views\Functional\ViewsFormMultipleTest::viewsData()
Overrides ViewTestBase::viewsData
File
-
core/
modules/ views/ tests/ src/ Functional/ ViewsFormMultipleTest.php, line 36
Class
- ViewsFormMultipleTest
- Tests a page with multiple Views forms.
Namespace
Drupal\Tests\views\FunctionalCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['field_form_button_test']['field'] = [
'title' => 'Button test',
'help' => 'Adds a test form button.',
'id' => 'field_form_button_test',
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.