You are here

public function NodeTest::indicatorProvider in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/Plugin/freelinking/NodeTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\NodeTest::indicatorProvider()

Provide test parameters for ::testGetIndicator.

Return value

array An array of test parameters.

File

tests/src/Unit/Plugin/freelinking/NodeTest.php, line 143

Class

NodeTest
Tests the nid plugin.

Namespace

Drupal\Tests\freelinking\Unit\Plugin\freelinking

Code

public function indicatorProvider() {
  return [
    [
      'nomatch',
      0,
    ],
    [
      'n',
      1,
    ],
    [
      'nid',
      1,
    ],
    [
      'node',
      1,
    ],
  ];
}