function UrlHelperTest::providerTestInvalidAbsolute

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestInvalidAbsolute()
  2. 8.9.x core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestInvalidAbsolute()
  3. 11.x core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestInvalidAbsolute()

Provides data for testInvalidAbsolute().

Return value

array

File

core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php, line 103

Class

UrlHelperTest
@group Utility

Namespace

Drupal\Tests\Component\Utility

Code

public static function providerTestInvalidAbsolute() : array {
    $data = [
        '',
        'ex!ample.com',
        'ex%ample.com',
    ];
    return self::dataEnhanceWithScheme($data);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.