You are here

public function ArgumentNullTest::viewsData in Drupal 9

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

Returns the views data definition.

Overrides ViewsKernelTestBase::viewsData

File

core/modules/views/tests/src/Kernel/Handler/ArgumentNullTest.php, line 22

Class

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

Namespace

Drupal\Tests\views\Kernel\Handler

Code

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