function FileUrlGenerator::generateAbsoluteString

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/FileUrlGenerator.php \Drupal\Core\File\FileUrlGenerator::generateAbsoluteString()
  2. 11.x core/lib/Drupal/Core/File/FileUrlGenerator.php \Drupal\Core\File\FileUrlGenerator::generateAbsoluteString()

File

core/lib/Drupal/Core/File/FileUrlGenerator.php, line 65

Class

FileUrlGenerator
Default implementation for the file URL generator service.

Namespace

Drupal\Core\File

Code

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.