public function WikiTest::indicatorProvider in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/Plugin/freelinking/WikiTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\WikiTest::indicatorProvider()
Provide test parameters for ::testGetIndicator().
Return value
array An array of test parameters.
File
- tests/
src/ Unit/ Plugin/ freelinking/ WikiTest.php, line 121
Class
- WikiTest
- Test the freelinking wiki plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function indicatorProvider() {
return [
[
'wikipedia',
1,
],
[
'wp',
1,
],
[
'wikiquote',
1,
],
[
'wq',
1,
],
[
'wiktionary',
1,
],
[
'wt',
1,
],
[
'wikinews',
1,
],
[
'wn',
1,
],
[
'wikisource',
1,
],
[
'ws',
1,
],
[
'wikibooks',
1,
],
[
'wb',
1,
],
];
}