function FileUrlGenerator::generateString

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

Overrides FileUrlGeneratorInterface::generateString

File

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

Class

FileUrlGenerator
Default implementation for the file URL generator service.

Namespace

Drupal\Core\File

Code

public function generateString(string $uri) : string {
    return $this->doGenerateString($uri, TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.