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