RelationshipTest::$columnMap

Same name in other branches
  1. 9 core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php \Drupal\Tests\views\Kernel\Plugin\RelationshipTest::columnMap
  2. 8.9.x core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php \Drupal\Tests\views\Kernel\Plugin\RelationshipTest::columnMap
  3. 11.x core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php \Drupal\Tests\views\Kernel\Plugin\RelationshipTest::columnMap

Maps between the key in the expected result and the query result.

Type: array

File

core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php, line 32

Class

RelationshipTest
Tests the base relationship handler.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

protected $columnMap = [
    'views_test_data_name' => 'name',
    'users_field_data_views_test_data_uid' => 'uid',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.