You are here

protected property BaseFieldFileFormatterBase::$fileUrlGenerator in Drupal 9

The file URL generator.

Type: \Drupal\Core\File\FileUrlGeneratorInterface

File

core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php, line 23

Class

BaseFieldFileFormatterBase
Base class for file formatters, which allow to link to the file download URL.

Namespace

Drupal\file\Plugin\Field\FieldFormatter

Code

protected $fileUrlGenerator;