function ViewsDataTest::providerTestGetEmptyKey

Provides data to testGetEmptyKey().

File

core/modules/views/tests/src/Unit/ViewsDataTest.php, line 659

Class

ViewsDataTest
Tests Drupal\views\ViewsData.

Namespace

Drupal\Tests\views\Unit

Code

public static function providerTestGetEmptyKey() {
  return [
    [
      NULL,
    ],
    [
      '',
    ],
    [
      0,
    ],
  ];
}

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