You are here

public function PageProcessorTest::dataProviderProcess in Mini site 8

Data provider for testProcessTagA().

File

tests/src/Kernel/PageProcessorTest.php, line 42

Class

PageProcessorTest
Class PageProcessorTest.

Namespace

Drupal\Tests\minisite\Kernel

Code

public function dataProviderProcess() {

  // @todo: Add more tests.
  return [
    [
      'http://example.com',
      'public://minisite/static/24c22dd1-2cf1-47ae-ac8a-23a7ff8b86c5/rootpath/subpath/page1.html',
      'sub/path/alias',
      '/page2.html',
      '/sub/path/alias/rootpath/page2.html',
    ],
  ];
}