| Versions | |
|---|---|
| 7 | theme_file_managed_file($variables) |
Returns HTML for a managed file element.
$variables An associative array containing:
drupal/
<?php
function theme_file_managed_file($variables) {
$element = $variables['element'];
// This wrapper is required to apply JS behaviors and CSS styling.
$output = '';
$output .= '<div class="form-managed-file">';
$output .= drupal_render_children($element);
$output .= '</div>';
return $output;
}
?>