protected function AreaEmptyTest::viewsData in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Kernel/Handler/AreaEmptyTest.php \Drupal\Tests\views\Kernel\Handler\AreaEmptyTest::viewsData()
- 9 core/modules/views/tests/src/Kernel/Handler/AreaEmptyTest.php \Drupal\Tests\views\Kernel\Handler\AreaEmptyTest::viewsData()
File
- core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEmptyTest.php, line 32
Class
- AreaEmptyTest
- Tests the generic entity area handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected function viewsData() {
$data = parent::viewsData();
$data['views']['test_example'] = [
'title' => 'Test Example area',
'help' => 'A area handler which just exists for tests.',
'area' => [
'id' => 'test_example',
],
];
return $data;
}