public static File::preRenderFile($element)
Prepares a #type 'file' render element for input.html.twig.
For assistance with handling the uploaded file correctly, see the API provided by file.inc.
Parameters
array $element: An associative array containing the properties of the element. Properties used: #title, #name, #size, #description, #required, #attributes.
Return value
array The $element with prepared variables ready for input.html.twig.
File
core/lib/Drupal/Core/Render/Element/File.php,