BaseFieldFileFormatterBase::$fileUrlGenerator
Same name in other branches
- 10 core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php \Drupal\file\Plugin\Field\FieldFormatter\BaseFieldFileFormatterBase::fileUrlGenerator
- 11.x 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\FieldFormatterCode
protected $fileUrlGenerator;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.