You are here

public function UrlHelperTest::providerTestValidRelativeData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestValidRelativeData()

Provides data for testValidRelative().

Return value

array

File

core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php, line 135
Contains \Drupal\Tests\Component\Utility\UrlHelperTest.

Class

UrlHelperTest
@group Utility

Namespace

Drupal\Tests\Component\Utility

Code

public function providerTestValidRelativeData() {
  $data = array(
    'paren(the)sis',
    'index.html#pagetop',
    'index.php/node',
    'index.php/node?param=false',
    'login.php?do=login&style=%23#pagetop',
  );
  return $this
    ->dataEnhanceWithPrefix($data);
}