You are here

public function PathProcessorAliasTest::providerTestProcessOutbound in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php \Drupal\Tests\Core\PathProcessor\PathProcessorAliasTest::providerTestProcessOutbound()

Return value

array

File

core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php, line 83
Contains \Drupal\Tests\Core\PathProcessor\PathProcessorAliasTest.

Class

PathProcessorAliasTest
@coversDefaultClass \Drupal\Core\PathProcessor\PathProcessorAlias @group PathProcessor

Namespace

Drupal\Tests\Core\PathProcessor

Code

public function providerTestProcessOutbound() {
  return [
    [
      'internal-url',
      [],
      'urlalias',
    ],
    [
      'internal-url',
      [
        'alias' => TRUE,
      ],
      'internal-url',
    ],
    [
      'url',
      [],
      'url',
    ],
  ];
}