public function FileTest::buildLinkProvider in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/Plugin/freelinking/FileTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\FileTest::buildLinkProvider()
Provide data for ::testBuildLink.
Return value
array An array of test parameters.
File
- tests/
src/ Unit/ Plugin/ freelinking/ FileTest.php, line 153
Class
- FileTest
- Tests the freelinking file plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function buildLinkProvider() {
return [
[
'logo.png',
0,
],
[
'logo.png',
-1,
],
[
'logo.png',
1,
],
];
}