function ImageTestDummyStreamWrapper::getExternalUrl
Same name and namespace in other branches
- 11.x core/modules/image/tests/modules/image_module_test/src/StreamWrapper/ImageTestDummyStreamWrapper.php \Drupal\image_module_test\StreamWrapper\ImageTestDummyStreamWrapper::getExternalUrl()
Returns a web accessible URL for the resource.
This function should return a URL that can be embedded in a web page and accessed from a browser. For example, the external URL of "youtube://random_string" might be "http://www.youtube.com/watch?v=random_string".
Return value
string Returns a string containing a web accessible URL for the resource.
Overrides StreamWrapperInterface::getExternalUrl
File
-
core/
modules/ image/ tests/ modules/ image_module_test/ src/ StreamWrapper/ ImageTestDummyStreamWrapper.php, line 42
Class
- ImageTestDummyStreamWrapper
- A non-public, non-private local stream wrapper for image style access tests.
Namespace
Drupal\image_module_test\StreamWrapperCode
public function getExternalUrl() : string {
return '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.