You are here

public function PathProcessorFrontTest::providerProcessOutbound in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php \Drupal\Tests\Core\PathProcessor\PathProcessorFrontTest::providerProcessOutbound()

Outbound paths and expected results.

File

core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php, line 86

Class

PathProcessorFrontTest
Test front page path processing.

Namespace

Drupal\Tests\Core\PathProcessor

Code

public function providerProcessOutbound() {
  return [
    [
      '/<front>',
      '/',
    ],
    [
      '<front>',
      '<front>',
    ],
    [
      '/user',
      '/user',
    ],
  ];
}