$field->toFile()
Returns a file object from a filename in the field
-
return ($file)
Example
<?= $page->documentation()->toFile()->filename(); ?>
Returns a file object from a filename in the field
<?= $page->documentation()->toFile()->filename(); ?>