You are here

protected property BaseFieldFileFormatterBase::$fileUrlGenerator in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php \Drupal\file\Plugin\Field\FieldFormatter\BaseFieldFileFormatterBase::fileUrlGenerator

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;