function LinkFieldTest::getUrlWithComplexQueryInputList
Same name in other branches
- 10 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::getUrlWithComplexQueryInputList()
Get list of url with complex query parameters for input check.
Return value
array The URLs with complex query parameters.
1 call to LinkFieldTest::getUrlWithComplexQueryInputList()
- LinkFieldTest::doTestURLValidation in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests link field URL validation.
File
-
core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php, line 721
Class
- LinkFieldTest
- Tests link field widgets and formatters.
Namespace
Drupal\Tests\link\FunctionalCode
protected function getUrlWithComplexQueryInputList() : array {
$test_urls = $this->getUrlWithComplexQuery();
$list_urls = [];
foreach ($test_urls as $test_url) {
$list_urls[$test_url['inputByUser']] = Html::escape($test_url['inputByUser']);
}
return $list_urls;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.