function UrlTest::providerUrlFromRequestWithQueryParameters
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\UrlTest::providerUrlFromRequestWithQueryParameters()
Data provider for testUrlFromRequestWithQueryParameters.
File
-
core/
tests/ Drupal/ Tests/ Core/ UrlTest.php, line 179
Class
- UrlTest
- Tests Drupal\Core\Url.
Namespace
Drupal\Tests\CoreCode
public static function providerUrlFromRequestWithQueryParameters() : iterable {
yield [
[
'foo' => 'bar',
],
];
yield [
[
'foo' => 'bar',
'bar' => 'baz',
],
];
yield [
[
'foo' => [
'bar',
'baz',
],
],
];
yield [
[],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.