You are here

function ArgumentNullTest::viewsData in Zircon Profile 8

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

Returns the views data definition.

Overrides ViewKernelTestBase::viewsData

File

core/modules/views/src/Tests/Handler/ArgumentNullTest.php, line 27
Contains \Drupal\views\Tests\Handler\ArgumentNullTest.

Class

ArgumentNullTest
Tests the core Drupal\views\Plugin\views\argument\NullArgument handler.

Namespace

Drupal\views\Tests\Handler

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['id']['argument']['id'] = 'null';
  return $data;
}