TwigExtension::$fileUrlGenerator

Same name in other branches
  1. 10 core/lib/Drupal/Core/Template/TwigExtension.php \Drupal\Core\Template\TwigExtension::fileUrlGenerator
  2. 11.x core/lib/Drupal/Core/Template/TwigExtension.php \Drupal\Core\Template\TwigExtension::fileUrlGenerator

The file URL generator.

Type: \Drupal\Core\File\FileUrlGeneratorInterface

File

core/lib/Drupal/Core/Template/TwigExtension.php, line 70

Class

TwigExtension
A class providing Drupal Twig extensions.

Namespace

Drupal\Core\Template

Code

protected $fileUrlGenerator;

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