file webform-managed-file.func.php

Stub file for bootstrap_webform_managed_file().

  1. <?php
  2. /**
  3. * @file
  4. * Stub file for bootstrap_webform_managed_file().
  5. */
  6. /**
  7. * Returns HTML for a Webform managed file element.
  8. *
  9. * @param array $variables
  10. * An associative array containing:
  11. * - element: A render element representing the file.
  12. *
  13. * @return string
  14. * The constructed HTML.
  15. *
  16. * @see theme_webform_managed_file()
  17. * @see bootstrap_file_managed_file()
  18. *
  19. * @ingroup theme_functions
  20. */
  21. function bootstrap_webform_managed_file(array $variables) {
  22. // Render with Bootstrap's managed file theme function.
  23. bootstrap_include('bootstrap', 'templates/file/file-managed-file.func.php');
  24. return bootstrap_file_managed_file($variables);
  25. }

Functions

Name Description
bootstrap_webform_managed_file Returns HTML for a Webform managed file element.