You are here

protected function LinkcheckerLinkExtractorServiceTest::getTestUrlList in Link checker 8

List of links to test.

Return value

array Key is a link, value is a config.

3 calls to LinkcheckerLinkExtractorServiceTest::getTestUrlList()
LinkcheckerLinkExtractorServiceTest::testBlacklistedUrls in tests/src/Kernel/LinkcheckerLinkExtractorServiceTest.php
Test blacklisted URLs.
LinkcheckerLinkExtractorServiceTest::testExternalUrls in tests/src/Kernel/LinkcheckerLinkExtractorServiceTest.php
Test external URLs.
LinkcheckerLinkExtractorServiceTest::testRelativeUrls in tests/src/Kernel/LinkcheckerLinkExtractorServiceTest.php
Test relative URLs.

File

tests/src/Kernel/LinkcheckerLinkExtractorServiceTest.php, line 414

Class

LinkcheckerLinkExtractorServiceTest
Test link extractor service.

Namespace

Drupal\Tests\linkchecker\Kernel

Code

protected function getTestUrlList() {
  return array_merge($this
    ->getExternalUrls(), $this
    ->getBlacklistedUrls(), array_keys($this
    ->getRelativeUrls()), $this
    ->getUnsupportedUrls());
}