protected function AreaTest::viewsData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Handler/AreaTest.php \Drupal\views\Tests\Handler\AreaTest::viewsData()
Returns the views data definition.
Overrides ViewTestBase::viewsData
File
- core/
modules/ views/ src/ Tests/ Handler/ AreaTest.php, line 42 - Contains \Drupal\views\Tests\Handler\AreaTest.
Class
- AreaTest
- Tests the plugin base of the area handler.
Namespace
Drupal\views\Tests\HandlerCode
protected function viewsData() {
$data = parent::viewsData();
$data['views']['test_example'] = array(
'title' => 'Test Example area',
'help' => 'A area handler which just exists for tests.',
'area' => array(
'id' => 'test_example',
),
);
return $data;
}