function FileUrlGenerator::generateAbsoluteString
Creates an absolute web-accessible URL string.
Parameters
string $uri: The URI to a file for which we need an external URL, or the path to a shipped file.
Return value
string An absolute string containing a URL that may be used to access the file.
Overrides FileUrlGeneratorInterface::generateAbsoluteString
File
- 
              core/lib/ Drupal/ Core/ File/ FileUrlGenerator.php, line 65 
Class
- FileUrlGenerator
- Default implementation for the file URL generator service.
Namespace
Drupal\Core\FileCode
public function generateAbsoluteString(string $uri) : string {
  return $this->doGenerateString($uri, FALSE);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
