protected function LinkcheckerLinkExtractorServiceTest::getUnsupportedUrls in Link checker 8
List of unsupported links to test.
Return value
array Links.
2 calls to LinkcheckerLinkExtractorServiceTest::getUnsupportedUrls()
- LinkcheckerLinkExtractorServiceTest::getTestUrlList in tests/
src/ Kernel/ LinkcheckerLinkExtractorServiceTest.php - List of links to test.
- LinkcheckerLinkExtractorServiceTest::testBlacklistedUrls in tests/
src/ Kernel/ LinkcheckerLinkExtractorServiceTest.php - Test blacklisted URLs.
File
- tests/
src/ Kernel/ LinkcheckerLinkExtractorServiceTest.php, line 400
Class
- LinkcheckerLinkExtractorServiceTest
- Test link extractor service.
Namespace
Drupal\Tests\linkchecker\KernelCode
protected function getUnsupportedUrls() {
return [
'mailto:test@example.com',
'javascript:foo()',
'',
];
}