Presenter Output

When accessing the field value from a decorated entry model an instance of \Anomaly\FilesModule\File\FilePresenter will be returned.

Example
$decorated->example->path; // local://folder/file.ext

$decorated->example->url() }} // /app/{application}/example/image.jpg
Twig
{{ decorated.example.path }} // local://folder/file.ext

{{ decorated.example.url }} // /app/{application}/example/image.jpg