function FieldXssTest::viewsData

Returns the views data definition.

Overrides ViewUnitTestBase::viewsData

File

drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldXssTest.php, line 45
Definition of Drupal\views\Tests\Handler\FieldXssTest.

Class

FieldXssTest
Tests the core Drupal\views\Plugin\views\field\Xss handler.

Namespace

Drupal\views\Tests\Handler

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['name']['field']['id'] = 'xss';
  return $data;
}