I'm adding some fields to Drupals site-information form. Textfields and managed_file fields. Images are uploaded there and not in my panel panes edit form.
Now I want to make the additional fields I've added, or just the whole form be rendered in a custom panel content_type. I have no issue getting the textfields themselves using
$block->content .= filter_xss_admin(variable_get('phonenumber', ''));
however I also need to render my managed_file. How would I go about doing so?