function bootstrap_webform_managed_file

7.x-3.x webform-managed-file.func.php bootstrap_webform_managed_file(array $variables)

Returns HTML for a Webform managed file element.

Parameters

array $variables: An associative array containing:

  • element: A render element representing the file.

Return value

string The constructed HTML.

See Also

Related topics

Source templates/webform/webform-managed-file.func.php (line 23)

function bootstrap_webform_managed_file(array $variables) {
  // Render with Bootstrap's managed file theme function.
  bootstrap_include('bootstrap', 'templates/file/file-managed-file.func.php');
  return bootstrap_file_managed_file($variables);
}