You are here

protected function ViewsSqlExceptionTest::viewsData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php \Drupal\views\Tests\Plugin\ViewsSqlExceptionTest::viewsData()

Returns the views data definition.

Overrides ViewTestBase::viewsData

File

core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php, line 39
Contains \Drupal\views\Tests\Plugin\ViewsSqlExceptionTest.

Class

ViewsSqlExceptionTest
Tests the views exception handling.

Namespace

Drupal\views\Tests\Plugin

Code

protected function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['name']['filter']['id'] = 'test_exception_filter';
  return $data;
}