function AssertContentTrait::getUrl
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getUrl()
Get the current URL from the cURL handler.
Return value
string The current URL.
1 method overrides AssertContentTrait::getUrl()
- TextFormatElementFormTest::getUrl in core/
modules/ filter/ tests/ src/ Kernel/ TextFormatElementFormTest.php - Get the current URL from the cURL handler.
File
-
core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php, line 145
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\KernelTestsCode
protected function getUrl() {
return 'no-url';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.