public function NodeTitleTest::indicatorProvider in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Unit/Plugin/freelinking/NodeTitleTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\NodeTitleTest::indicatorProvider()
Provide strings to test indicator pattern with expected result.
Return value
array An array of test method arguments.
File
- tests/
src/ Unit/ Plugin/ freelinking/ NodeTitleTest.php, line 127
Class
- NodeTitleTest
- Tests the nodetitle plugin behavior.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function indicatorProvider() {
return [
[
'ntnomatch',
0,
],
[
'nt',
1,
],
[
'nodetitle',
1,
],
[
'title',
1,
],
];
}