$file->toArray() Extended info for the array export by injecting the information from the asset. kirby/src/Cms/File.php#L797 $file->toArray(): array Return type array Parent class Kirby\Cms\File Example if($image = $page->image()): var_dump($image->toArray()); endif;