public static function UrlHelperTest::providerTestEncodePath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestEncodePath()
Provides data for self::testEncodePath().
Return value
array
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php, line 327 - Contains \Drupal\Tests\Component\Utility\UrlHelperTest.
Class
- UrlHelperTest
- @group Utility
Namespace
Drupal\Tests\Component\UtilityCode
public static function providerTestEncodePath() {
return array(
array(
'unencoded path with spaces',
'unencoded%20path%20with%20spaces',
),
array(
'slashes/should/be/preserved',
'slashes/should/be/preserved',
),
);
}